Trait windows::Win32::Graphics::Direct3D::ID3DDestructionNotifier_Impl
pub trait ID3DDestructionNotifier_Impl: Sized {
// Required methods
fn RegisterDestructionCallback(
&self,
callbackfn: PFN_DESTRUCTION_CALLBACK,
pdata: *const c_void,
) -> Result<u32>;
fn UnregisterDestructionCallback(&self, callbackid: u32) -> Result<()>;
}
Required Methods§
fn RegisterDestructionCallback( &self, callbackfn: PFN_DESTRUCTION_CALLBACK, pdata: *const c_void, ) -> Result<u32>
fn UnregisterDestructionCallback(&self, callbackid: u32) -> Result<()>
Object Safety§
This trait is not object safe.