Struct windows::Win32::Media::MediaFoundation::IMFDXGIDeviceManager
pub struct IMFDXGIDeviceManager(/* private fields */);
Implementations§
§impl IMFDXGIDeviceManager
impl IMFDXGIDeviceManager
pub unsafe fn CloseDeviceHandle<P0>(&self, hdevice: P0) -> Result<()>where
P0: IntoParam<HANDLE>,
pub unsafe fn GetVideoService<P0>(
&self,
hdevice: P0,
riid: *const GUID,
ppservice: *mut *mut c_void
) -> Result<()>where
P0: IntoParam<HANDLE>,
pub unsafe fn LockDevice<P0, P1>( &self, hdevice: P0, riid: *const GUID, ppunkdevice: *mut *mut c_void, fblock: P1 ) -> Result<()>
pub unsafe fn OpenDeviceHandle(&self) -> Result<HANDLE>
pub unsafe fn ResetDevice<P0>(
&self,
punkdevice: P0,
resettoken: u32
) -> Result<()>where
P0: IntoParam<IUnknown>,
pub unsafe fn TestDevice<P0>(&self, hdevice: P0) -> Result<()>where
P0: IntoParam<HANDLE>,
pub unsafe fn UnlockDevice<P0, P1>( &self, hdevice: P0, fsavestate: P1 ) -> Result<()>
Trait Implementations§
§impl Clone for IMFDXGIDeviceManager
impl Clone for IMFDXGIDeviceManager
§fn clone(&self) -> IMFDXGIDeviceManager
fn clone(&self) -> IMFDXGIDeviceManager
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IMFDXGIDeviceManager
impl Debug for IMFDXGIDeviceManager
§impl From<&IMFDXGIDeviceManager> for &IUnknown
impl From<&IMFDXGIDeviceManager> for &IUnknown
§fn from(value: &IMFDXGIDeviceManager) -> Self
fn from(value: &IMFDXGIDeviceManager) -> Self
Converts to this type from the input type.
§impl From<IMFDXGIDeviceManager> for IUnknown
impl From<IMFDXGIDeviceManager> for IUnknown
§fn from(value: IMFDXGIDeviceManager) -> Self
fn from(value: IMFDXGIDeviceManager) -> Self
Converts to this type from the input type.
§impl Interface for IMFDXGIDeviceManager
impl Interface for IMFDXGIDeviceManager
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IMFDXGIDeviceManager
impl PartialEq for IMFDXGIDeviceManager
§fn eq(&self, other: &IMFDXGIDeviceManager) -> bool
fn eq(&self, other: &IMFDXGIDeviceManager) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFDXGIDeviceManager
impl StructuralPartialEq for IMFDXGIDeviceManager
Auto Trait Implementations§
impl RefUnwindSafe for IMFDXGIDeviceManager
impl !Send for IMFDXGIDeviceManager
impl !Sync for IMFDXGIDeviceManager
impl Unpin for IMFDXGIDeviceManager
impl UnwindSafe for IMFDXGIDeviceManager
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more