Struct windows::Win32::Media::DirectShow::IVMRSurfaceAllocatorNotify9
pub struct IVMRSurfaceAllocatorNotify9(/* private fields */);
Implementations§
§impl IVMRSurfaceAllocatorNotify9
impl IVMRSurfaceAllocatorNotify9
pub unsafe fn AdviseSurfaceAllocator<P0>(
&self,
dwuserid: usize,
lpivrmsurfaceallocator: P0
) -> Result<()>where
P0: IntoParam<IVMRSurfaceAllocator9>,
pub unsafe fn SetD3DDevice<P0, P1>(
&self,
lpd3ddevice: P0,
hmonitor: P1
) -> Result<()>where
P0: IntoParam<IDirect3DDevice9>,
P1: IntoParam<HMONITOR>,
pub unsafe fn ChangeD3DDevice<P0, P1>(
&self,
lpd3ddevice: P0,
hmonitor: P1
) -> Result<()>where
P0: IntoParam<IDirect3DDevice9>,
P1: IntoParam<HMONITOR>,
pub unsafe fn AllocateSurfaceHelper( &self, lpallocinfo: *const VMR9AllocationInfo, lpnumbuffers: *mut u32, lplpsurface: *mut Option<IDirect3DSurface9> ) -> Result<()>
pub unsafe fn NotifyEvent( &self, eventcode: i32, param1: isize, param2: isize ) -> Result<()>
Trait Implementations§
§impl Clone for IVMRSurfaceAllocatorNotify9
impl Clone for IVMRSurfaceAllocatorNotify9
§fn clone(&self) -> IVMRSurfaceAllocatorNotify9
fn clone(&self) -> IVMRSurfaceAllocatorNotify9
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 IVMRSurfaceAllocatorNotify9
impl Debug for IVMRSurfaceAllocatorNotify9
§impl From<&IVMRSurfaceAllocatorNotify9> for &IUnknown
impl From<&IVMRSurfaceAllocatorNotify9> for &IUnknown
§fn from(value: &IVMRSurfaceAllocatorNotify9) -> Self
fn from(value: &IVMRSurfaceAllocatorNotify9) -> Self
Converts to this type from the input type.
§impl From<IVMRSurfaceAllocatorNotify9> for IUnknown
impl From<IVMRSurfaceAllocatorNotify9> for IUnknown
§fn from(value: IVMRSurfaceAllocatorNotify9) -> Self
fn from(value: IVMRSurfaceAllocatorNotify9) -> Self
Converts to this type from the input type.
§impl Interface for IVMRSurfaceAllocatorNotify9
impl Interface for IVMRSurfaceAllocatorNotify9
§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 IVMRSurfaceAllocatorNotify9
impl PartialEq for IVMRSurfaceAllocatorNotify9
§fn eq(&self, other: &IVMRSurfaceAllocatorNotify9) -> bool
fn eq(&self, other: &IVMRSurfaceAllocatorNotify9) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IVMRSurfaceAllocatorNotify9
impl StructuralPartialEq for IVMRSurfaceAllocatorNotify9
Auto Trait Implementations§
impl RefUnwindSafe for IVMRSurfaceAllocatorNotify9
impl !Send for IVMRSurfaceAllocatorNotify9
impl !Sync for IVMRSurfaceAllocatorNotify9
impl Unpin for IVMRSurfaceAllocatorNotify9
impl UnwindSafe for IVMRSurfaceAllocatorNotify9
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