Struct mltg_bindings::Windows::Win32::Graphics::Dxgi::IDXGIOutput [−][src]
#[repr(transparent)]pub struct IDXGIOutput(_);
Implementations
pub unsafe fn SetPrivateData(
&self,
name: *const Guid,
datasize: u32,
pdata: *const c_void
) -> Result<()>
pub unsafe fn SetPrivateDataInterface<'a>(
&self,
name: *const Guid,
punknown: impl IntoParam<'a, IUnknown>
) -> Result<()>
pub unsafe fn GetPrivateData(
&self,
name: *const Guid,
pdatasize: *mut u32,
pdata: *mut c_void
) -> Result<()>
pub unsafe fn GetDisplayModeList(
&self,
enumformat: DXGI_FORMAT,
flags: u32,
pnummodes: *mut u32,
pdesc: *mut DXGI_MODE_DESC
) -> Result<()>
pub unsafe fn FindClosestMatchingMode<'a>(
&self,
pmodetomatch: *const DXGI_MODE_DESC,
pclosestmatch: *mut DXGI_MODE_DESC,
pconcerneddevice: impl IntoParam<'a, IUnknown>
) -> Result<()>
pub unsafe fn TakeOwnership<'a>(
&self,
pdevice: impl IntoParam<'a, IUnknown>,
exclusive: impl IntoParam<'a, BOOL>
) -> Result<()>
pub unsafe fn SetDisplaySurface<'a>(
&self,
pscanoutsurface: impl IntoParam<'a, IDXGISurface>
) -> Result<()>
pub unsafe fn GetDisplaySurfaceData<'a>(
&self,
pdestination: impl IntoParam<'a, IDXGISurface>
) -> Result<()>
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.
type Vtable = IDXGIOutput_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
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 IDXGIOutput
impl !Send for IDXGIOutput
impl !Sync for IDXGIOutput
impl Unpin for IDXGIOutput
impl UnwindSafe for IDXGIOutput
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more