Trait windows::Win32::Graphics::Dxgi::IDXGIOutput1_Impl

pub trait IDXGIOutput1_Impl: Sized + IDXGIOutput_Impl {
    // Required methods
    fn GetDisplayModeList1(
        &self,
        enumformat: DXGI_FORMAT,
        flags: DXGI_ENUM_MODES,
        pnummodes: *mut u32,
        pdesc: *mut DXGI_MODE_DESC1,
    ) -> Result<()>;
    fn FindClosestMatchingMode1(
        &self,
        pmodetomatch: *const DXGI_MODE_DESC1,
        pclosestmatch: *mut DXGI_MODE_DESC1,
        pconcerneddevice: Option<&IUnknown>,
    ) -> Result<()>;
    fn GetDisplaySurfaceData1(
        &self,
        pdestination: Option<&IDXGIResource>,
    ) -> Result<()>;
    fn DuplicateOutput(
        &self,
        pdevice: Option<&IUnknown>,
    ) -> Result<IDXGIOutputDuplication>;
}

Required Methods§

fn GetDisplayModeList1( &self, enumformat: DXGI_FORMAT, flags: DXGI_ENUM_MODES, pnummodes: *mut u32, pdesc: *mut DXGI_MODE_DESC1, ) -> Result<()>

fn FindClosestMatchingMode1( &self, pmodetomatch: *const DXGI_MODE_DESC1, pclosestmatch: *mut DXGI_MODE_DESC1, pconcerneddevice: Option<&IUnknown>, ) -> Result<()>

fn GetDisplaySurfaceData1( &self, pdestination: Option<&IDXGIResource>, ) -> Result<()>

fn DuplicateOutput( &self, pdevice: Option<&IUnknown>, ) -> Result<IDXGIOutputDuplication>

Object Safety§

This trait is not object safe.

Implementors§