Trait windows::Win32::Graphics::DXCore::IDXCoreAdapter_Impl

pub trait IDXCoreAdapter_Impl: Sized {
    // Required methods
    fn IsValid(&self) -> bool;
    fn IsAttributeSupported(&self, attributeguid: *const GUID) -> bool;
    fn IsPropertySupported(&self, property: DXCoreAdapterProperty) -> bool;
    fn GetProperty(
        &self,
        property: DXCoreAdapterProperty,
        buffersize: usize,
        propertydata: *mut c_void,
    ) -> Result<()>;
    fn GetPropertySize(&self, property: DXCoreAdapterProperty) -> Result<usize>;
    fn IsQueryStateSupported(&self, property: DXCoreAdapterState) -> bool;
    fn QueryState(
        &self,
        state: DXCoreAdapterState,
        inputstatedetailssize: usize,
        inputstatedetails: *const c_void,
        outputbuffersize: usize,
        outputbuffer: *mut c_void,
    ) -> Result<()>;
    fn IsSetStateSupported(&self, property: DXCoreAdapterState) -> bool;
    fn SetState(
        &self,
        state: DXCoreAdapterState,
        inputstatedetailssize: usize,
        inputstatedetails: *const c_void,
        inputdatasize: usize,
        inputdata: *const c_void,
    ) -> Result<()>;
    fn GetFactory(
        &self,
        riid: *const GUID,
        ppvfactory: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn IsValid(&self) -> bool

fn IsAttributeSupported(&self, attributeguid: *const GUID) -> bool

fn IsPropertySupported(&self, property: DXCoreAdapterProperty) -> bool

fn GetProperty( &self, property: DXCoreAdapterProperty, buffersize: usize, propertydata: *mut c_void, ) -> Result<()>

fn GetPropertySize(&self, property: DXCoreAdapterProperty) -> Result<usize>

fn IsQueryStateSupported(&self, property: DXCoreAdapterState) -> bool

fn QueryState( &self, state: DXCoreAdapterState, inputstatedetailssize: usize, inputstatedetails: *const c_void, outputbuffersize: usize, outputbuffer: *mut c_void, ) -> Result<()>

fn IsSetStateSupported(&self, property: DXCoreAdapterState) -> bool

fn SetState( &self, state: DXCoreAdapterState, inputstatedetailssize: usize, inputstatedetails: *const c_void, inputdatasize: usize, inputdata: *const c_void, ) -> Result<()>

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

Object Safety§

This trait is not object safe.

Implementors§