Trait windows::Win32::Graphics::DirectDraw::IDirectDraw2_Impl

pub trait IDirectDraw2_Impl: Sized {
Show 21 methods // Required methods fn Compact(&self) -> Result<()>; fn CreateClipper( &self, param0: u32, param1: *mut Option<IDirectDrawClipper>, param2: Option<&IUnknown>, ) -> Result<()>; fn CreatePalette( &self, param0: u32, param1: *mut PALETTEENTRY, param2: *mut Option<IDirectDrawPalette>, param3: Option<&IUnknown>, ) -> Result<()>; fn CreateSurface( &self, param0: *mut DDSURFACEDESC, param1: *mut Option<IDirectDrawSurface>, param2: Option<&IUnknown>, ) -> Result<()>; fn DuplicateSurface( &self, param0: Option<&IDirectDrawSurface>, ) -> Result<IDirectDrawSurface>; fn EnumDisplayModes( &self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut c_void, param3: LPDDENUMMODESCALLBACK, ) -> Result<()>; fn EnumSurfaces( &self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut c_void, param3: LPDDENUMSURFACESCALLBACK, ) -> Result<()>; fn FlipToGDISurface(&self) -> Result<()>; fn GetCaps( &self, param0: *mut DDCAPS_DX7, param1: *mut DDCAPS_DX7, ) -> Result<()>; fn GetDisplayMode(&self, param0: *mut DDSURFACEDESC) -> Result<()>; fn GetFourCCCodes(&self, param0: *mut u32, param1: *mut u32) -> Result<()>; fn GetGDISurface(&self) -> Result<IDirectDrawSurface>; fn GetMonitorFrequency(&self, param0: *mut u32) -> Result<()>; fn GetScanLine(&self, param0: *mut u32) -> Result<()>; fn GetVerticalBlankStatus(&self, param0: *mut BOOL) -> Result<()>; fn Initialize(&self, param0: *mut GUID) -> Result<()>; fn RestoreDisplayMode(&self) -> Result<()>; fn SetCooperativeLevel(&self, param0: HWND, param1: u32) -> Result<()>; fn SetDisplayMode( &self, param0: u32, param1: u32, param2: u32, param3: u32, param4: u32, ) -> Result<()>; fn WaitForVerticalBlank(&self, param0: u32, param1: HANDLE) -> Result<()>; fn GetAvailableVidMem( &self, param0: *mut DDSCAPS, param1: *mut u32, param2: *mut u32, ) -> Result<()>;
}

Required Methods§

fn Compact(&self) -> Result<()>

fn CreateClipper( &self, param0: u32, param1: *mut Option<IDirectDrawClipper>, param2: Option<&IUnknown>, ) -> Result<()>

fn CreatePalette( &self, param0: u32, param1: *mut PALETTEENTRY, param2: *mut Option<IDirectDrawPalette>, param3: Option<&IUnknown>, ) -> Result<()>

fn CreateSurface( &self, param0: *mut DDSURFACEDESC, param1: *mut Option<IDirectDrawSurface>, param2: Option<&IUnknown>, ) -> Result<()>

fn DuplicateSurface( &self, param0: Option<&IDirectDrawSurface>, ) -> Result<IDirectDrawSurface>

fn EnumDisplayModes( &self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut c_void, param3: LPDDENUMMODESCALLBACK, ) -> Result<()>

fn EnumSurfaces( &self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut c_void, param3: LPDDENUMSURFACESCALLBACK, ) -> Result<()>

fn FlipToGDISurface(&self) -> Result<()>

fn GetCaps( &self, param0: *mut DDCAPS_DX7, param1: *mut DDCAPS_DX7, ) -> Result<()>

fn GetDisplayMode(&self, param0: *mut DDSURFACEDESC) -> Result<()>

fn GetFourCCCodes(&self, param0: *mut u32, param1: *mut u32) -> Result<()>

fn GetGDISurface(&self) -> Result<IDirectDrawSurface>

fn GetMonitorFrequency(&self, param0: *mut u32) -> Result<()>

fn GetScanLine(&self, param0: *mut u32) -> Result<()>

fn GetVerticalBlankStatus(&self, param0: *mut BOOL) -> Result<()>

fn Initialize(&self, param0: *mut GUID) -> Result<()>

fn RestoreDisplayMode(&self) -> Result<()>

fn SetCooperativeLevel(&self, param0: HWND, param1: u32) -> Result<()>

fn SetDisplayMode( &self, param0: u32, param1: u32, param2: u32, param3: u32, param4: u32, ) -> Result<()>

fn WaitForVerticalBlank(&self, param0: u32, param1: HANDLE) -> Result<()>

fn GetAvailableVidMem( &self, param0: *mut DDSCAPS, param1: *mut u32, param2: *mut u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§