#[repr(C)]
pub struct IDirectDrawSurface2_Vtbl {
Show 37 fields pub base__: IUnknown_Vtbl, pub AddAttachedSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub AddOverlayDirtyRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT, pub Blt: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: *mut c_void, _: *mut RECT, _: u32, _: *mut DDBLTFX) -> HRESULT, pub BltBatch: unsafe extern "system" fn(_: *mut c_void, _: *mut DDBLTBATCH, _: u32, _: u32) -> HRESULT, pub BltFast: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut c_void, _: *mut RECT, _: u32) -> HRESULT, pub DeleteAttachedSurface: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT, pub EnumAttachedSurfaces: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK) -> HRESULT, pub EnumOverlayZOrders: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK) -> HRESULT, pub Flip: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT, pub GetAttachedSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSCAPS, _: *mut *mut c_void) -> HRESULT, pub GetBltStatus: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSCAPS) -> HRESULT, pub GetClipper: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetColorKey: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDCOLORKEY) -> HRESULT, pub GetDC: unsafe extern "system" fn(_: *mut c_void, _: *mut HDC) -> HRESULT, pub GetFlipStatus: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub GetOverlayPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut i32, _: *mut i32) -> HRESULT, pub GetPalette: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetPixelFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut DDPIXELFORMAT) -> HRESULT, pub GetSurfaceDesc: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSURFACEDESC) -> HRESULT, pub Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut DDSURFACEDESC) -> HRESULT, pub IsLost: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Lock: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: *mut DDSURFACEDESC, _: u32, _: HANDLE) -> HRESULT, pub ReleaseDC: unsafe extern "system" fn(_: *mut c_void, _: HDC) -> HRESULT, pub Restore: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetClipper: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetColorKey: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDCOLORKEY) -> HRESULT, pub SetOverlayPosition: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub SetPalette: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub Unlock: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub UpdateOverlay: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: *mut c_void, _: *mut RECT, _: u32, _: *mut DDOVERLAYFX) -> HRESULT, pub UpdateOverlayDisplay: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub UpdateOverlayZOrder: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT, pub GetDDInterface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub PageLock: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub PageUnlock: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§AddAttachedSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§AddOverlayDirtyRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT§Blt: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: *mut c_void, _: *mut RECT, _: u32, _: *mut DDBLTFX) -> HRESULT§BltBatch: unsafe extern "system" fn(_: *mut c_void, _: *mut DDBLTBATCH, _: u32, _: u32) -> HRESULT§BltFast: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut c_void, _: *mut RECT, _: u32) -> HRESULT§DeleteAttachedSurface: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT§EnumAttachedSurfaces: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK) -> HRESULT§EnumOverlayZOrders: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: LPDDENUMSURFACESCALLBACK) -> HRESULT§Flip: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT§GetAttachedSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSCAPS, _: *mut *mut c_void) -> HRESULT§GetBltStatus: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSCAPS) -> HRESULT§GetClipper: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetColorKey: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDCOLORKEY) -> HRESULT§GetDC: unsafe extern "system" fn(_: *mut c_void, _: *mut HDC) -> HRESULT§GetFlipStatus: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetOverlayPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut i32, _: *mut i32) -> HRESULT§GetPalette: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetPixelFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut DDPIXELFORMAT) -> HRESULT§GetSurfaceDesc: unsafe extern "system" fn(_: *mut c_void, _: *mut DDSURFACEDESC) -> HRESULT§Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut DDSURFACEDESC) -> HRESULT§IsLost: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Lock: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: *mut DDSURFACEDESC, _: u32, _: HANDLE) -> HRESULT§ReleaseDC: unsafe extern "system" fn(_: *mut c_void, _: HDC) -> HRESULT§Restore: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetClipper: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetColorKey: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DDCOLORKEY) -> HRESULT§SetOverlayPosition: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§SetPalette: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§Unlock: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§UpdateOverlay: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: *mut c_void, _: *mut RECT, _: u32, _: *mut DDOVERLAYFX) -> HRESULT§UpdateOverlayDisplay: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§UpdateOverlayZOrder: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT§GetDDInterface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§PageLock: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§PageUnlock: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT

Implementations§

§

impl IDirectDrawSurface2_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IDirectDrawSurface2_Impl, const OFFSET: isize>( ) -> IDirectDrawSurface2_Vtbl

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.