Trait windows::Win32::Graphics::DirectDraw::IDirectDrawVideoPort_Impl
pub trait IDirectDrawVideoPort_Impl: Sized {
Show 14 methods
// Required methods
fn Flip(
&self,
param0: Option<&IDirectDrawSurface>,
param1: u32,
) -> Result<()>;
fn GetBandwidthInfo(
&self,
param0: *mut DDPIXELFORMAT,
param1: u32,
param2: u32,
param3: u32,
param4: *mut DDVIDEOPORTBANDWIDTH,
) -> Result<()>;
fn GetColorControls(&self, param0: *mut DDCOLORCONTROL) -> Result<()>;
fn GetInputFormats(
&self,
lpnumformats: *mut u32,
param1: *mut DDPIXELFORMAT,
param2: u32,
) -> Result<()>;
fn GetOutputFormats(
&self,
param0: *mut DDPIXELFORMAT,
lpnumformats: *mut u32,
param2: *mut DDPIXELFORMAT,
param3: u32,
) -> Result<()>;
fn GetFieldPolarity(&self, param0: *mut BOOL) -> Result<()>;
fn GetVideoLine(&self, param0: *mut u32) -> Result<()>;
fn GetVideoSignalStatus(&self, param0: *mut u32) -> Result<()>;
fn SetColorControls(&self, param0: *mut DDCOLORCONTROL) -> Result<()>;
fn SetTargetSurface(
&self,
param0: Option<&IDirectDrawSurface>,
param1: u32,
) -> Result<()>;
fn StartVideo(&self, param0: *mut DDVIDEOPORTINFO) -> Result<()>;
fn StopVideo(&self) -> Result<()>;
fn UpdateVideo(&self, param0: *mut DDVIDEOPORTINFO) -> Result<()>;
fn WaitForSync(&self, param0: u32, param1: u32, param2: u32) -> Result<()>;
}
Required Methods§
fn Flip(&self, param0: Option<&IDirectDrawSurface>, param1: u32) -> Result<()>
fn GetBandwidthInfo( &self, param0: *mut DDPIXELFORMAT, param1: u32, param2: u32, param3: u32, param4: *mut DDVIDEOPORTBANDWIDTH, ) -> Result<()>
fn GetColorControls(&self, param0: *mut DDCOLORCONTROL) -> Result<()>
fn GetInputFormats( &self, lpnumformats: *mut u32, param1: *mut DDPIXELFORMAT, param2: u32, ) -> Result<()>
fn GetOutputFormats( &self, param0: *mut DDPIXELFORMAT, lpnumformats: *mut u32, param2: *mut DDPIXELFORMAT, param3: u32, ) -> Result<()>
fn GetFieldPolarity(&self, param0: *mut BOOL) -> Result<()>
fn GetVideoLine(&self, param0: *mut u32) -> Result<()>
fn GetVideoSignalStatus(&self, param0: *mut u32) -> Result<()>
fn SetColorControls(&self, param0: *mut DDCOLORCONTROL) -> Result<()>
fn SetTargetSurface( &self, param0: Option<&IDirectDrawSurface>, param1: u32, ) -> Result<()>
fn StartVideo(&self, param0: *mut DDVIDEOPORTINFO) -> Result<()>
fn StopVideo(&self) -> Result<()>
fn UpdateVideo(&self, param0: *mut DDVIDEOPORTINFO) -> Result<()>
fn WaitForSync(&self, param0: u32, param1: u32, param2: u32) -> Result<()>
Object Safety§
This trait is not object safe.