Struct windows::Win32::Media::MediaFoundation::IDirect3DDeviceManager9
pub struct IDirect3DDeviceManager9(/* private fields */);
Implementations§
§impl IDirect3DDeviceManager9
impl IDirect3DDeviceManager9
pub unsafe fn ResetDevice<P0>(&self, pdevice: P0, resettoken: u32) -> Result<()>where
P0: IntoParam<IDirect3DDevice9>,
pub unsafe fn OpenDeviceHandle(&self) -> Result<HANDLE>
pub unsafe fn CloseDeviceHandle<P0>(&self, hdevice: P0) -> Result<()>where
P0: IntoParam<HANDLE>,
pub unsafe fn TestDevice<P0>(&self, hdevice: P0) -> Result<()>where
P0: IntoParam<HANDLE>,
pub unsafe fn LockDevice<P0, P1>( &self, hdevice: P0, ppdevice: *mut Option<IDirect3DDevice9>, fblock: P1 ) -> Result<()>
pub unsafe fn UnlockDevice<P0, P1>( &self, hdevice: P0, fsavestate: P1 ) -> Result<()>
pub unsafe fn GetVideoService<P0>(
&self,
hdevice: P0,
riid: *const GUID,
ppservice: *mut *mut c_void
) -> Result<()>where
P0: IntoParam<HANDLE>,
Trait Implementations§
§impl Clone for IDirect3DDeviceManager9
impl Clone for IDirect3DDeviceManager9
§fn clone(&self) -> IDirect3DDeviceManager9
fn clone(&self) -> IDirect3DDeviceManager9
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 IDirect3DDeviceManager9
impl Debug for IDirect3DDeviceManager9
§impl From<&IDirect3DDeviceManager9> for &IUnknown
impl From<&IDirect3DDeviceManager9> for &IUnknown
§fn from(value: &IDirect3DDeviceManager9) -> Self
fn from(value: &IDirect3DDeviceManager9) -> Self
Converts to this type from the input type.
§impl From<IDirect3DDeviceManager9> for IUnknown
impl From<IDirect3DDeviceManager9> for IUnknown
§fn from(value: IDirect3DDeviceManager9) -> Self
fn from(value: IDirect3DDeviceManager9) -> Self
Converts to this type from the input type.
§impl Interface for IDirect3DDeviceManager9
impl Interface for IDirect3DDeviceManager9
§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 IDirect3DDeviceManager9
impl PartialEq for IDirect3DDeviceManager9
§fn eq(&self, other: &IDirect3DDeviceManager9) -> bool
fn eq(&self, other: &IDirect3DDeviceManager9) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDirect3DDeviceManager9
impl StructuralPartialEq for IDirect3DDeviceManager9
Auto Trait Implementations§
impl RefUnwindSafe for IDirect3DDeviceManager9
impl !Send for IDirect3DDeviceManager9
impl !Sync for IDirect3DDeviceManager9
impl Unpin for IDirect3DDeviceManager9
impl UnwindSafe for IDirect3DDeviceManager9
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