Trait windows::Win32::Graphics::DirectDraw::IDirectDrawSurface3_Impl
pub trait IDirectDrawSurface3_Impl: Sized {
Show 37 methods
// Required methods
fn AddAttachedSurface(
&self,
param0: Option<&IDirectDrawSurface3>,
) -> Result<()>;
fn AddOverlayDirtyRect(&self, param0: *mut RECT) -> Result<()>;
fn Blt(
&self,
param0: *mut RECT,
param1: Option<&IDirectDrawSurface3>,
param2: *mut RECT,
param3: u32,
param4: *mut DDBLTFX,
) -> Result<()>;
fn BltBatch(
&self,
param0: *mut DDBLTBATCH,
param1: u32,
param2: u32,
) -> Result<()>;
fn BltFast(
&self,
param0: u32,
param1: u32,
param2: Option<&IDirectDrawSurface3>,
param3: *mut RECT,
param4: u32,
) -> Result<()>;
fn DeleteAttachedSurface(
&self,
param0: u32,
param1: Option<&IDirectDrawSurface3>,
) -> Result<()>;
fn EnumAttachedSurfaces(
&self,
param0: *mut c_void,
param1: LPDDENUMSURFACESCALLBACK,
) -> Result<()>;
fn EnumOverlayZOrders(
&self,
param0: u32,
param1: *mut c_void,
param2: LPDDENUMSURFACESCALLBACK,
) -> Result<()>;
fn Flip(
&self,
param0: Option<&IDirectDrawSurface3>,
param1: u32,
) -> Result<()>;
fn GetAttachedSurface(
&self,
param0: *mut DDSCAPS,
param1: *mut Option<IDirectDrawSurface3>,
) -> Result<()>;
fn GetBltStatus(&self, param0: u32) -> Result<()>;
fn GetCaps(&self, param0: *mut DDSCAPS) -> Result<()>;
fn GetClipper(&self) -> Result<IDirectDrawClipper>;
fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> Result<()>;
fn GetDC(&self, param0: *mut HDC) -> Result<()>;
fn GetFlipStatus(&self, param0: u32) -> Result<()>;
fn GetOverlayPosition(
&self,
param0: *mut i32,
param1: *mut i32,
) -> Result<()>;
fn GetPalette(&self) -> Result<IDirectDrawPalette>;
fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> Result<()>;
fn GetSurfaceDesc(&self, param0: *mut DDSURFACEDESC) -> Result<()>;
fn Initialize(
&self,
param0: Option<&IDirectDraw>,
param1: *mut DDSURFACEDESC,
) -> Result<()>;
fn IsLost(&self) -> Result<()>;
fn Lock(
&self,
param0: *mut RECT,
param1: *mut DDSURFACEDESC,
param2: u32,
param3: HANDLE,
) -> Result<()>;
fn ReleaseDC(&self, param0: HDC) -> Result<()>;
fn Restore(&self) -> Result<()>;
fn SetClipper(&self, param0: Option<&IDirectDrawClipper>) -> Result<()>;
fn SetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> Result<()>;
fn SetOverlayPosition(&self, param0: i32, param1: i32) -> Result<()>;
fn SetPalette(&self, param0: Option<&IDirectDrawPalette>) -> Result<()>;
fn Unlock(&self, param0: *mut c_void) -> Result<()>;
fn UpdateOverlay(
&self,
param0: *mut RECT,
param1: Option<&IDirectDrawSurface3>,
param2: *mut RECT,
param3: u32,
param4: *mut DDOVERLAYFX,
) -> Result<()>;
fn UpdateOverlayDisplay(&self, param0: u32) -> Result<()>;
fn UpdateOverlayZOrder(
&self,
param0: u32,
param1: Option<&IDirectDrawSurface3>,
) -> Result<()>;
fn GetDDInterface(&self, param0: *mut *mut c_void) -> Result<()>;
fn PageLock(&self, param0: u32) -> Result<()>;
fn PageUnlock(&self, param0: u32) -> Result<()>;
fn SetSurfaceDesc(
&self,
param0: *mut DDSURFACEDESC,
param1: u32,
) -> Result<()>;
}
Required Methods§
fn AddAttachedSurface(&self, param0: Option<&IDirectDrawSurface3>) -> Result<()>
fn AddOverlayDirtyRect(&self, param0: *mut RECT) -> Result<()>
fn Blt( &self, param0: *mut RECT, param1: Option<&IDirectDrawSurface3>, param2: *mut RECT, param3: u32, param4: *mut DDBLTFX, ) -> Result<()>
fn BltBatch( &self, param0: *mut DDBLTBATCH, param1: u32, param2: u32, ) -> Result<()>
fn BltFast( &self, param0: u32, param1: u32, param2: Option<&IDirectDrawSurface3>, param3: *mut RECT, param4: u32, ) -> Result<()>
fn DeleteAttachedSurface( &self, param0: u32, param1: Option<&IDirectDrawSurface3>, ) -> Result<()>
fn EnumAttachedSurfaces( &self, param0: *mut c_void, param1: LPDDENUMSURFACESCALLBACK, ) -> Result<()>
fn EnumOverlayZOrders( &self, param0: u32, param1: *mut c_void, param2: LPDDENUMSURFACESCALLBACK, ) -> Result<()>
fn Flip(&self, param0: Option<&IDirectDrawSurface3>, param1: u32) -> Result<()>
fn GetAttachedSurface( &self, param0: *mut DDSCAPS, param1: *mut Option<IDirectDrawSurface3>, ) -> Result<()>
fn GetBltStatus(&self, param0: u32) -> Result<()>
fn GetCaps(&self, param0: *mut DDSCAPS) -> Result<()>
fn GetClipper(&self) -> Result<IDirectDrawClipper>
fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> Result<()>
fn GetDC(&self, param0: *mut HDC) -> Result<()>
fn GetFlipStatus(&self, param0: u32) -> Result<()>
fn GetOverlayPosition(&self, param0: *mut i32, param1: *mut i32) -> Result<()>
fn GetPalette(&self) -> Result<IDirectDrawPalette>
fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> Result<()>
fn GetSurfaceDesc(&self, param0: *mut DDSURFACEDESC) -> Result<()>
fn Initialize( &self, param0: Option<&IDirectDraw>, param1: *mut DDSURFACEDESC, ) -> Result<()>
fn IsLost(&self) -> Result<()>
fn Lock( &self, param0: *mut RECT, param1: *mut DDSURFACEDESC, param2: u32, param3: HANDLE, ) -> Result<()>
fn ReleaseDC(&self, param0: HDC) -> Result<()>
fn Restore(&self) -> Result<()>
fn SetClipper(&self, param0: Option<&IDirectDrawClipper>) -> Result<()>
fn SetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> Result<()>
fn SetOverlayPosition(&self, param0: i32, param1: i32) -> Result<()>
fn SetPalette(&self, param0: Option<&IDirectDrawPalette>) -> Result<()>
fn Unlock(&self, param0: *mut c_void) -> Result<()>
fn UpdateOverlay( &self, param0: *mut RECT, param1: Option<&IDirectDrawSurface3>, param2: *mut RECT, param3: u32, param4: *mut DDOVERLAYFX, ) -> Result<()>
fn UpdateOverlayDisplay(&self, param0: u32) -> Result<()>
fn UpdateOverlayZOrder( &self, param0: u32, param1: Option<&IDirectDrawSurface3>, ) -> Result<()>
fn GetDDInterface(&self, param0: *mut *mut c_void) -> Result<()>
fn PageLock(&self, param0: u32) -> Result<()>
fn PageUnlock(&self, param0: u32) -> Result<()>
fn SetSurfaceDesc(&self, param0: *mut DDSURFACEDESC, param1: u32) -> Result<()>
Object Safety§
This trait is not object safe.