pub trait IMFCapturePreviewSink_Impl: Sized + IMFCaptureSink_Impl {
// Required methods
fn SetRenderHandle(&self, handle: HANDLE) -> Result<()>;
fn SetRenderSurface(&self, psurface: Option<&IUnknown>) -> Result<()>;
fn UpdateVideo(
&self,
psrc: *const MFVideoNormalizedRect,
pdst: *const RECT,
pborderclr: *const COLORREF
) -> Result<()>;
fn SetSampleCallback(
&self,
dwstreamsinkindex: u32,
pcallback: Option<&IMFCaptureEngineOnSampleCallback>
) -> Result<()>;
fn GetMirrorState(&self) -> Result<BOOL>;
fn SetMirrorState(&self, fmirrorstate: BOOL) -> Result<()>;
fn GetRotation(&self, dwstreamindex: u32) -> Result<u32>;
fn SetRotation(
&self,
dwstreamindex: u32,
dwrotationvalue: u32
) -> Result<()>;
fn SetCustomSink(&self, pmediasink: Option<&IMFMediaSink>) -> Result<()>;
}
Required Methods§
fn SetRenderHandle(&self, handle: HANDLE) -> Result<()>
fn SetRenderSurface(&self, psurface: Option<&IUnknown>) -> Result<()>
fn UpdateVideo( &self, psrc: *const MFVideoNormalizedRect, pdst: *const RECT, pborderclr: *const COLORREF ) -> Result<()>
fn SetSampleCallback( &self, dwstreamsinkindex: u32, pcallback: Option<&IMFCaptureEngineOnSampleCallback> ) -> Result<()>
fn GetMirrorState(&self) -> Result<BOOL>
fn SetMirrorState(&self, fmirrorstate: BOOL) -> Result<()>
fn GetRotation(&self, dwstreamindex: u32) -> Result<u32>
fn SetRotation(&self, dwstreamindex: u32, dwrotationvalue: u32) -> Result<()>
fn SetCustomSink(&self, pmediasink: Option<&IMFMediaSink>) -> Result<()>
Object Safety§
This trait is not object safe.