Struct windows::Win32::Graphics::DirectDraw::IDirectDraw4_Vtbl
#[repr(C)]pub struct IDirectDraw4_Vtbl {Show 26 fields
pub base__: IUnknown_Vtbl,
pub Compact: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub CreateClipper: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut c_void) -> HRESULT,
pub CreatePalette: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PALETTEENTRY, _: *mut *mut c_void, _: *mut c_void) -> HRESULT,
pub CreateSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSURFACEDESC2, _: *mut *mut c_void, _: *mut c_void) -> HRESULT,
pub DuplicateSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub EnumDisplayModes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDSURFACEDESC2, _: *mut c_void, _: LPDDENUMMODESCALLBACK2) -> HRESULT,
pub EnumSurfaces: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDSURFACEDESC2, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK2) -> HRESULT,
pub FlipToGDISurface: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DDCAPS_DX7, _: *mut DDCAPS_DX7) -> HRESULT,
pub GetDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSURFACEDESC2) -> HRESULT,
pub GetFourCCCodes: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT,
pub GetGDISurface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetMonitorFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetScanLine: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetVerticalBlankStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT,
pub RestoreDisplayMode: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetCooperativeLevel: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: u32) -> HRESULT,
pub SetDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: u32) -> HRESULT,
pub WaitForVerticalBlank: unsafe extern "system" fn(_: *mut c_void, _: u32, _: HANDLE) -> HRESULT,
pub GetAvailableVidMem: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSCAPS2, _: *mut u32, _: *mut u32) -> HRESULT,
pub GetSurfaceFromDC: unsafe extern "system" fn(_: *mut c_void, _: HDC, _: *mut *mut c_void) -> HRESULT,
pub RestoreAllSurfaces: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub TestCooperativeLevel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetDeviceIdentifier: unsafe extern "system" fn(_: *mut c_void, _: *mut DDDEVICEIDENTIFIER, _: u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Compact: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§CreateClipper: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut c_void) -> HRESULT
§CreatePalette: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PALETTEENTRY, _: *mut *mut c_void, _: *mut c_void) -> HRESULT
§CreateSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSURFACEDESC2, _: *mut *mut c_void, _: *mut c_void) -> HRESULT
§DuplicateSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT
§EnumDisplayModes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDSURFACEDESC2, _: *mut c_void, _: LPDDENUMMODESCALLBACK2) -> HRESULT
§EnumSurfaces: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDSURFACEDESC2, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK2) -> HRESULT
§FlipToGDISurface: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DDCAPS_DX7, _: *mut DDCAPS_DX7) -> HRESULT
§GetDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSURFACEDESC2) -> HRESULT
§GetFourCCCodes: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT
§GetGDISurface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetMonitorFrequency: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§GetScanLine: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§GetVerticalBlankStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT
§RestoreDisplayMode: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§SetCooperativeLevel: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: u32) -> HRESULT
§SetDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: u32) -> HRESULT
§WaitForVerticalBlank: unsafe extern "system" fn(_: *mut c_void, _: u32, _: HANDLE) -> HRESULT
§GetAvailableVidMem: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSCAPS2, _: *mut u32, _: *mut u32) -> HRESULT
§GetSurfaceFromDC: unsafe extern "system" fn(_: *mut c_void, _: HDC, _: *mut *mut c_void) -> HRESULT
§RestoreAllSurfaces: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§TestCooperativeLevel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetDeviceIdentifier: unsafe extern "system" fn(_: *mut c_void, _: *mut DDDEVICEIDENTIFIER, _: u32) -> HRESULT
Implementations§
§impl IDirectDraw4_Vtbl
impl IDirectDraw4_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDirectDraw4_Vtblwhere
Identity: IDirectDraw4_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirectDraw4_Vtbl
impl RefUnwindSafe for IDirectDraw4_Vtbl
impl Send for IDirectDraw4_Vtbl
impl Sync for IDirectDraw4_Vtbl
impl Unpin for IDirectDraw4_Vtbl
impl UnwindSafe for IDirectDraw4_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more