Trait windows::Win32::Graphics::DXCore::IDXCoreAdapterList_Impl

pub trait IDXCoreAdapterList_Impl: Sized {
    // Required methods
    fn GetAdapter(
        &self,
        index: u32,
        riid: *const GUID,
        ppvadapter: *mut *mut c_void,
    ) -> Result<()>;
    fn GetAdapterCount(&self) -> u32;
    fn IsStale(&self) -> bool;
    fn GetFactory(
        &self,
        riid: *const GUID,
        ppvfactory: *mut *mut c_void,
    ) -> Result<()>;
    fn Sort(
        &self,
        numpreferences: u32,
        preferences: *const DXCoreAdapterPreference,
    ) -> Result<()>;
    fn IsAdapterPreferenceSupported(
        &self,
        preference: DXCoreAdapterPreference,
    ) -> bool;
}

Required Methods§

fn GetAdapter( &self, index: u32, riid: *const GUID, ppvadapter: *mut *mut c_void, ) -> Result<()>

fn GetAdapterCount(&self) -> u32

fn IsStale(&self) -> bool

fn GetFactory( &self, riid: *const GUID, ppvfactory: *mut *mut c_void, ) -> Result<()>

fn Sort( &self, numpreferences: u32, preferences: *const DXCoreAdapterPreference, ) -> Result<()>

fn IsAdapterPreferenceSupported( &self, preference: DXCoreAdapterPreference, ) -> bool

Object Safety§

This trait is not object safe.

Implementors§