Struct windows::Win32::Graphics::DirectDraw::IDirectDrawPalette_Vtbl
#[repr(C)]pub struct IDirectDrawPalette_Vtbl {
pub base__: IUnknown_Vtbl,
pub GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut PALETTEENTRY) -> HRESULT,
pub Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut PALETTEENTRY) -> HRESULT,
pub SetEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut PALETTEENTRY) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§GetEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut PALETTEENTRY) -> HRESULT
§Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut PALETTEENTRY) -> HRESULT
§SetEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut PALETTEENTRY) -> HRESULT
Implementations§
§impl IDirectDrawPalette_Vtbl
impl IDirectDrawPalette_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDirectDrawPalette_Vtblwhere
Identity: IDirectDrawPalette_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirectDrawPalette_Vtbl
impl RefUnwindSafe for IDirectDrawPalette_Vtbl
impl Send for IDirectDrawPalette_Vtbl
impl Sync for IDirectDrawPalette_Vtbl
impl Unpin for IDirectDrawPalette_Vtbl
impl UnwindSafe for IDirectDrawPalette_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