Struct windows::Win32::Graphics::DirectDraw::IDirectDraw_Vtbl

#[repr(C)]
pub struct IDirectDraw_Vtbl {
Show 21 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 DDSURFACEDESC, _: *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 DDSURFACEDESC, _: *mut c_void, _: LPDDENUMMODESCALLBACK) -> HRESULT, pub EnumSurfaces: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDSURFACEDESC, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK) -> 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 DDSURFACEDESC) -> 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) -> HRESULT, pub WaitForVerticalBlank: unsafe extern "system" fn(_: *mut c_void, _: u32, _: HANDLE) -> 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 DDSURFACEDESC, _: *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 DDSURFACEDESC, _: *mut c_void, _: LPDDENUMMODESCALLBACK) -> HRESULT§EnumSurfaces: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDSURFACEDESC, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK) -> 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 DDSURFACEDESC) -> 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) -> HRESULT§WaitForVerticalBlank: unsafe extern "system" fn(_: *mut c_void, _: u32, _: HANDLE) -> HRESULT

Implementations§

§

impl IDirectDraw_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDirectDraw_Vtbl
where Identity: IDirectDraw_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.