pub trait IMFVideoDisplayControl_Impl: Sized {
Show 16 methods
// Required methods
fn GetNativeVideoSize(
&self,
pszvideo: *mut SIZE,
pszarvideo: *mut SIZE,
) -> Result<()>;
fn GetIdealVideoSize(
&self,
pszmin: *mut SIZE,
pszmax: *mut SIZE,
) -> Result<()>;
fn SetVideoPosition(
&self,
pnrcsource: *const MFVideoNormalizedRect,
prcdest: *const RECT,
) -> Result<()>;
fn GetVideoPosition(
&self,
pnrcsource: *mut MFVideoNormalizedRect,
prcdest: *mut RECT,
) -> Result<()>;
fn SetAspectRatioMode(&self, dwaspectratiomode: u32) -> Result<()>;
fn GetAspectRatioMode(&self) -> Result<u32>;
fn SetVideoWindow(&self, hwndvideo: HWND) -> Result<()>;
fn GetVideoWindow(&self) -> Result<HWND>;
fn RepaintVideo(&self) -> Result<()>;
fn GetCurrentImage(
&self,
pbih: *mut BITMAPINFOHEADER,
pdib: *mut *mut u8,
pcbdib: *mut u32,
ptimestamp: *mut i64,
) -> Result<()>;
fn SetBorderColor(&self, clr: COLORREF) -> Result<()>;
fn GetBorderColor(&self) -> Result<COLORREF>;
fn SetRenderingPrefs(&self, dwrenderflags: u32) -> Result<()>;
fn GetRenderingPrefs(&self) -> Result<u32>;
fn SetFullscreen(&self, ffullscreen: BOOL) -> Result<()>;
fn GetFullscreen(&self) -> Result<BOOL>;
}
Required Methods§
fn GetNativeVideoSize( &self, pszvideo: *mut SIZE, pszarvideo: *mut SIZE, ) -> Result<()>
fn GetIdealVideoSize(&self, pszmin: *mut SIZE, pszmax: *mut SIZE) -> Result<()>
fn SetVideoPosition( &self, pnrcsource: *const MFVideoNormalizedRect, prcdest: *const RECT, ) -> Result<()>
fn GetVideoPosition( &self, pnrcsource: *mut MFVideoNormalizedRect, prcdest: *mut RECT, ) -> Result<()>
fn SetAspectRatioMode(&self, dwaspectratiomode: u32) -> Result<()>
fn GetAspectRatioMode(&self) -> Result<u32>
fn SetVideoWindow(&self, hwndvideo: HWND) -> Result<()>
fn GetVideoWindow(&self) -> Result<HWND>
fn RepaintVideo(&self) -> Result<()>
fn GetCurrentImage( &self, pbih: *mut BITMAPINFOHEADER, pdib: *mut *mut u8, pcbdib: *mut u32, ptimestamp: *mut i64, ) -> Result<()>
fn SetBorderColor(&self, clr: COLORREF) -> Result<()>
fn GetBorderColor(&self) -> Result<COLORREF>
fn SetRenderingPrefs(&self, dwrenderflags: u32) -> Result<()>
fn GetRenderingPrefs(&self) -> Result<u32>
fn SetFullscreen(&self, ffullscreen: BOOL) -> Result<()>
fn GetFullscreen(&self) -> Result<BOOL>
Object Safety§
This trait is not object safe.