Struct dxgi_win::interfaces::IDXGISwapChainMedia [] [src]

pub struct IDXGISwapChainMedia {
    pub lpVtbl: *const IDXGISwapChainMediaVtbl,
}

Fields

lpVtbl

Methods

impl IDXGISwapChainMedia

unsafe fn GetFrameStatisticsMedia(&mut self, stats: *mut DXGI_FRAME_STATISTICS_MEDIA) -> HRESULT

unsafe fn SetPresentDuration(&mut self, duration: UINT) -> HRESULT

unsafe fn CheckPresentDurationSupport(&mut self, desired_present_duration: UINT, closest_smaller_present_duration: *mut UINT, closest_larger_present_duration: *mut UINT) -> HRESULT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: *const GUID, ppvObject: *mut *mut c_void) -> i32

unsafe fn AddRef(&mut self) -> u32

unsafe fn Release(&mut self) -> u32

Trait Implementations

impl Deref for IDXGISwapChainMedia

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for IDXGISwapChainMedia

fn deref_mut(&mut self) -> &mut IUnknown

impl COMInterface for IDXGISwapChainMedia

fn i_unknown(&self) -> &IUnknown

fn i_unknown_mut(&mut self) -> &mut IUnknown

impl QueryIID for IDXGISwapChainMedia

fn iid() -> GUID