Struct dxgi_win::interfaces::IDXGIFactory2 [] [src]

pub struct IDXGIFactory2 {
    pub lpVtbl: *const IDXGIFactory2Vtbl,
}

Fields

lpVtbl

Methods

impl IDXGIFactory2

unsafe fn IsWindowedStereoEnabled(&mut self) -> BOOL

unsafe fn CreateSwapChainForHwnd(&mut self, device: *mut IUnknown, hwnd: HWND, desc: *const DXGI_SWAP_CHAIN_DESC1, fullscreen_desc: *const DXGI_SWAP_CHAIN_FULLSCREEN_DESC, restrict_to_output: *mut IDXGIOutput, swapchain: *mut *mut IDXGISwapChain1) -> HRESULT

unsafe fn CreateSwapChainForCoreWindow(&mut self, device: *mut IUnknown, window: *mut IUnknown, desc: *const DXGI_SWAP_CHAIN_DESC1, restrict_to_output: *mut DXGI_SWAP_CHAIN_DESC1) -> HRESULT

unsafe fn GetSharedResourceAdapterLuid(&mut self, resource: HANDLE, luid: *mut LUID) -> HRESULT

unsafe fn RegisterStereoStatusWindow(&mut self, window_handle: HWND, msg: UINT, cookie: *mut DWORD) -> HRESULT

unsafe fn RegisterStereoStatusEvent(&mut self, event_handle: HANDLE, cookie: *mut DWORD) -> HRESULT

unsafe fn UnregisterStereoStatus(&mut self, cookit: DWORD)

unsafe fn RegisterOcclusionStatusWindow(&mut self, window_handle: HWND, msg: UINT, cookie: *mut DWORD) -> HRESULT

unsafe fn RegisterOcclusionStatusEvent(&mut self, event_handle: HANDLE, cookie: *mut DWORD) -> HRESULT

unsafe fn UnregisterOcclusionStatus(&mut self, cookie: DWORD)

unsafe fn CreateSwapChainForComposition(&mut self, device: *mut IUnknown, desc: *const DXGI_SWAP_CHAIN_DESC1, restrict_to_output: *mut IDXGIOutput, swapchain: *mut *mut IDXGISwapChain1) -> HRESULT

Methods from Deref<Target=IDXGIFactory1>

unsafe fn EnumAdapters1(&mut self, adapter_i: UINT, adapter: *mut *mut IDXGIAdapter1) -> HRESULT

unsafe fn IsCurrent(&mut self) -> BOOL

Trait Implementations

impl Deref for IDXGIFactory2

type Target = IDXGIFactory1

fn deref(&self) -> &IDXGIFactory1

impl DerefMut for IDXGIFactory2

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

impl COMInterface for IDXGIFactory2

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for IDXGIFactory2

fn iid() -> GUID