Trait windows::Win32::Media::MediaFoundation::IMFCaptureSource_Impl
pub trait IMFCaptureSource_Impl: Sized {
Show 14 methods
// Required methods
fn GetCaptureDeviceSource(
&self,
mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE,
ppmediasource: *mut Option<IMFMediaSource>
) -> Result<()>;
fn GetCaptureDeviceActivate(
&self,
mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE,
ppactivate: *mut Option<IMFActivate>
) -> Result<()>;
fn GetService(
&self,
rguidservice: *const GUID,
riid: *const GUID,
ppunknown: *mut Option<IUnknown>
) -> Result<()>;
fn AddEffect(
&self,
dwsourcestreamindex: u32,
punknown: Option<&IUnknown>
) -> Result<()>;
fn RemoveEffect(
&self,
dwsourcestreamindex: u32,
punknown: Option<&IUnknown>
) -> Result<()>;
fn RemoveAllEffects(&self, dwsourcestreamindex: u32) -> Result<()>;
fn GetAvailableDeviceMediaType(
&self,
dwsourcestreamindex: u32,
dwmediatypeindex: u32,
ppmediatype: *mut Option<IMFMediaType>
) -> Result<()>;
fn SetCurrentDeviceMediaType(
&self,
dwsourcestreamindex: u32,
pmediatype: Option<&IMFMediaType>
) -> Result<()>;
fn GetCurrentDeviceMediaType(
&self,
dwsourcestreamindex: u32
) -> Result<IMFMediaType>;
fn GetDeviceStreamCount(&self) -> Result<u32>;
fn GetDeviceStreamCategory(
&self,
dwsourcestreamindex: u32
) -> Result<MF_CAPTURE_ENGINE_STREAM_CATEGORY>;
fn GetMirrorState(&self, dwstreamindex: u32) -> Result<BOOL>;
fn SetMirrorState(
&self,
dwstreamindex: u32,
fmirrorstate: BOOL
) -> Result<()>;
fn GetStreamIndexFromFriendlyName(&self, uifriendlyname: u32) -> Result<u32>;
}
Required Methods§
fn GetCaptureDeviceSource( &self, mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE, ppmediasource: *mut Option<IMFMediaSource> ) -> Result<()>
fn GetCaptureDeviceActivate( &self, mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE, ppactivate: *mut Option<IMFActivate> ) -> Result<()>
fn GetService( &self, rguidservice: *const GUID, riid: *const GUID, ppunknown: *mut Option<IUnknown> ) -> Result<()>
fn AddEffect( &self, dwsourcestreamindex: u32, punknown: Option<&IUnknown> ) -> Result<()>
fn RemoveEffect( &self, dwsourcestreamindex: u32, punknown: Option<&IUnknown> ) -> Result<()>
fn RemoveAllEffects(&self, dwsourcestreamindex: u32) -> Result<()>
fn GetAvailableDeviceMediaType( &self, dwsourcestreamindex: u32, dwmediatypeindex: u32, ppmediatype: *mut Option<IMFMediaType> ) -> Result<()>
fn SetCurrentDeviceMediaType( &self, dwsourcestreamindex: u32, pmediatype: Option<&IMFMediaType> ) -> Result<()>
fn GetCurrentDeviceMediaType( &self, dwsourcestreamindex: u32 ) -> Result<IMFMediaType>
fn GetDeviceStreamCount(&self) -> Result<u32>
fn GetDeviceStreamCategory( &self, dwsourcestreamindex: u32 ) -> Result<MF_CAPTURE_ENGINE_STREAM_CATEGORY>
fn GetMirrorState(&self, dwstreamindex: u32) -> Result<BOOL>
fn SetMirrorState(&self, dwstreamindex: u32, fmirrorstate: BOOL) -> Result<()>
fn GetStreamIndexFromFriendlyName(&self, uifriendlyname: u32) -> Result<u32>
Object Safety§
This trait is not object safe.