Struct windows::Win32::Graphics::DirectDraw::IDirectDrawSurface_Vtbl
#[repr(C)]pub struct IDirectDrawSurface_Vtbl {Show 34 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,
}
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
Implementations§
§impl IDirectDrawSurface_Vtbl
impl IDirectDrawSurface_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDirectDrawSurface_Vtblwhere
Identity: IDirectDrawSurface_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirectDrawSurface_Vtbl
impl RefUnwindSafe for IDirectDrawSurface_Vtbl
impl Send for IDirectDrawSurface_Vtbl
impl Sync for IDirectDrawSurface_Vtbl
impl Unpin for IDirectDrawSurface_Vtbl
impl UnwindSafe for IDirectDrawSurface_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