Trait windows::Win32::Graphics::DirectDraw::IDirectDraw7_Impl

pub trait IDirectDraw7_Impl: Sized {
Show 27 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 DDSURFACEDESC2, param1: *mut Option<IDirectDrawSurface7>, param2: Option<&IUnknown>, ) -> Result<()>; fn DuplicateSurface( &self, param0: Option<&IDirectDrawSurface7>, ) -> Result<IDirectDrawSurface7>; fn EnumDisplayModes( &self, param0: u32, param1: *mut DDSURFACEDESC2, param2: *mut c_void, param3: LPDDENUMMODESCALLBACK2, ) -> Result<()>; fn EnumSurfaces( &self, param0: u32, param1: *mut DDSURFACEDESC2, param2: *mut c_void, param3: LPDDENUMSURFACESCALLBACK7, ) -> Result<()>; fn FlipToGDISurface(&self) -> Result<()>; fn GetCaps( &self, param0: *mut DDCAPS_DX7, param1: *mut DDCAPS_DX7, ) -> Result<()>; fn GetDisplayMode(&self, param0: *mut DDSURFACEDESC2) -> Result<()>; fn GetFourCCCodes(&self, param0: *mut u32, param1: *mut u32) -> Result<()>; fn GetGDISurface(&self) -> Result<IDirectDrawSurface7>; 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 DDSCAPS2, param1: *mut u32, param2: *mut u32, ) -> Result<()>; fn GetSurfaceFromDC(&self, param0: HDC) -> Result<IDirectDrawSurface7>; fn RestoreAllSurfaces(&self) -> Result<()>; fn TestCooperativeLevel(&self) -> Result<()>; fn GetDeviceIdentifier( &self, param0: *mut DDDEVICEIDENTIFIER2, param1: u32, ) -> Result<()>; fn StartModeTest( &self, param0: *mut SIZE, param1: u32, param2: u32, ) -> Result<()>; fn EvaluateMode(&self, param0: u32, param1: *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 DDSURFACEDESC2, param1: *mut Option<IDirectDrawSurface7>, param2: Option<&IUnknown>, ) -> Result<()>

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

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

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

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

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

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

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

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

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 DDSCAPS2, param1: *mut u32, param2: *mut u32, ) -> Result<()>

fn GetSurfaceFromDC(&self, param0: HDC) -> Result<IDirectDrawSurface7>

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

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

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

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

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

Object Safety§

This trait is not object safe.

Implementors§