Trait windows::Win32::Graphics::Dxgi::IDXGIAdapter3_Impl

pub trait IDXGIAdapter3_Impl: Sized + IDXGIAdapter2_Impl {
    // Required methods
    fn RegisterHardwareContentProtectionTeardownStatusEvent(
        &self,
        hevent: HANDLE,
    ) -> Result<u32>;
    fn UnregisterHardwareContentProtectionTeardownStatus(&self, dwcookie: u32);
    fn QueryVideoMemoryInfo(
        &self,
        nodeindex: u32,
        memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP,
        pvideomemoryinfo: *mut DXGI_QUERY_VIDEO_MEMORY_INFO,
    ) -> Result<()>;
    fn SetVideoMemoryReservation(
        &self,
        nodeindex: u32,
        memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP,
        reservation: u64,
    ) -> Result<()>;
    fn RegisterVideoMemoryBudgetChangeNotificationEvent(
        &self,
        hevent: HANDLE,
    ) -> Result<u32>;
    fn UnregisterVideoMemoryBudgetChangeNotification(&self, dwcookie: u32);
}

Required Methods§

fn RegisterHardwareContentProtectionTeardownStatusEvent( &self, hevent: HANDLE, ) -> Result<u32>

fn UnregisterHardwareContentProtectionTeardownStatus(&self, dwcookie: u32)

fn QueryVideoMemoryInfo( &self, nodeindex: u32, memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP, pvideomemoryinfo: *mut DXGI_QUERY_VIDEO_MEMORY_INFO, ) -> Result<()>

fn SetVideoMemoryReservation( &self, nodeindex: u32, memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP, reservation: u64, ) -> Result<()>

fn RegisterVideoMemoryBudgetChangeNotificationEvent( &self, hevent: HANDLE, ) -> Result<u32>

fn UnregisterVideoMemoryBudgetChangeNotification(&self, dwcookie: u32)

Object Safety§

This trait is not object safe.

Implementors§