Trait windows::Win32::Graphics::DXCore::IDXCoreAdapterFactory_Impl
pub trait IDXCoreAdapterFactory_Impl: Sized {
// Required methods
fn CreateAdapterList(
&self,
numattributes: u32,
filterattributes: *const GUID,
riid: *const GUID,
ppvadapterlist: *mut *mut c_void,
) -> Result<()>;
fn GetAdapterByLuid(
&self,
adapterluid: *const LUID,
riid: *const GUID,
ppvadapter: *mut *mut c_void,
) -> Result<()>;
fn IsNotificationTypeSupported(
&self,
notificationtype: DXCoreNotificationType,
) -> bool;
fn RegisterEventNotification(
&self,
dxcoreobject: Option<&IUnknown>,
notificationtype: DXCoreNotificationType,
callbackfunction: PFN_DXCORE_NOTIFICATION_CALLBACK,
callbackcontext: *const c_void,
) -> Result<u32>;
fn UnregisterEventNotification(&self, eventcookie: u32) -> Result<()>;
}
Required Methods§
fn CreateAdapterList( &self, numattributes: u32, filterattributes: *const GUID, riid: *const GUID, ppvadapterlist: *mut *mut c_void, ) -> Result<()>
fn GetAdapterByLuid( &self, adapterluid: *const LUID, riid: *const GUID, ppvadapter: *mut *mut c_void, ) -> Result<()>
fn IsNotificationTypeSupported( &self, notificationtype: DXCoreNotificationType, ) -> bool
fn RegisterEventNotification( &self, dxcoreobject: Option<&IUnknown>, notificationtype: DXCoreNotificationType, callbackfunction: PFN_DXCORE_NOTIFICATION_CALLBACK, callbackcontext: *const c_void, ) -> Result<u32>
fn UnregisterEventNotification(&self, eventcookie: u32) -> Result<()>
Object Safety§
This trait is not object safe.