Struct mltg_bindings::Windows::Win32::Graphics::Dxgi::IDXGIFactory2 [−][src]
#[repr(transparent)]pub struct IDXGIFactory2(_);
Implementations
pub unsafe fn SetPrivateData(
&self,
name: *const Guid,
datasize: u32,
pdata: *const c_void
) -> Result<()>
pub unsafe fn SetPrivateDataInterface<'a, Param1: IntoParam<'a, IUnknown>>(
&self,
name: *const Guid,
punknown: Param1
) -> Result<()>
pub unsafe fn GetPrivateData(
&self,
name: *const Guid,
pdatasize: *mut u32,
pdata: *mut c_void
) -> Result<()>
pub unsafe fn MakeWindowAssociation<'a, Param0: IntoParam<'a, HWND>>(
&self,
windowhandle: Param0,
flags: u32
) -> Result<()>
pub unsafe fn CreateSwapChain<'a, Param0: IntoParam<'a, IUnknown>>(
&self,
pdevice: Param0,
pdesc: *const DXGI_SWAP_CHAIN_DESC
) -> Result<IDXGISwapChain>
pub unsafe fn CreateSoftwareAdapter<'a, Param0: IntoParam<'a, HINSTANCE>>(
&self,
module: Param0
) -> Result<IDXGIAdapter>
pub unsafe fn CreateSwapChainForHwnd<'a, Param0: IntoParam<'a, IUnknown>, Param1: IntoParam<'a, HWND>, Param4: IntoParam<'a, IDXGIOutput>>(
&self,
pdevice: Param0,
hwnd: Param1,
pdesc: *const DXGI_SWAP_CHAIN_DESC1,
pfullscreendesc: *const DXGI_SWAP_CHAIN_FULLSCREEN_DESC,
prestricttooutput: Param4
) -> Result<IDXGISwapChain1>
pub unsafe fn CreateSwapChainForCoreWindow<'a, Param0: IntoParam<'a, IUnknown>, Param1: IntoParam<'a, IUnknown>, Param3: IntoParam<'a, IDXGIOutput>>(
&self,
pdevice: Param0,
pwindow: Param1,
pdesc: *const DXGI_SWAP_CHAIN_DESC1,
prestricttooutput: Param3
) -> Result<IDXGISwapChain1>
pub unsafe fn RegisterStereoStatusWindow<'a, Param0: IntoParam<'a, HWND>>(
&self,
windowhandle: Param0,
wmsg: u32
) -> Result<u32>
pub unsafe fn RegisterStereoStatusEvent<'a, Param0: IntoParam<'a, HANDLE>>(
&self,
hevent: Param0
) -> Result<u32>
pub unsafe fn RegisterOcclusionStatusWindow<'a, Param0: IntoParam<'a, HWND>>(
&self,
windowhandle: Param0,
wmsg: u32
) -> Result<u32>
pub unsafe fn RegisterOcclusionStatusEvent<'a, Param0: IntoParam<'a, HANDLE>>(
&self,
hevent: Param0
) -> Result<u32>
pub unsafe fn CreateSwapChainForComposition<'a, Param0: IntoParam<'a, IUnknown>, Param2: IntoParam<'a, IDXGIOutput>>(
&self,
pdevice: Param0,
pdesc: *const DXGI_SWAP_CHAIN_DESC1,
prestricttooutput: Param2
) -> Result<IDXGISwapChain1>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDXGIFactory2
impl !Send for IDXGIFactory2
impl !Sync for IDXGIFactory2
impl Unpin for IDXGIFactory2
impl UnwindSafe for IDXGIFactory2
Blanket Implementations
Mutably borrows from an owned value. Read more