Struct windows::Win32::Media::DirectShow::ICaptureGraphBuilder2
pub struct ICaptureGraphBuilder2(/* private fields */);
Implementations§
§impl ICaptureGraphBuilder2
impl ICaptureGraphBuilder2
pub unsafe fn SetFiltergraph<P0>(&self, pfg: P0) -> Result<()>where
P0: IntoParam<IGraphBuilder>,
pub unsafe fn GetFiltergraph(&self) -> Result<IGraphBuilder>
pub unsafe fn SetOutputFileName<P0>(
&self,
ptype: *const GUID,
lpstrfile: P0,
ppf: *mut Option<IBaseFilter>,
ppsink: Option<*mut Option<IFileSinkFilter>>
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn FindInterface<P0>(
&self,
pcategory: Option<*const GUID>,
ptype: Option<*const GUID>,
pf: P0,
riid: *const GUID,
ppint: *mut *mut c_void
) -> Result<()>where
P0: IntoParam<IBaseFilter>,
pub unsafe fn RenderStream<P0, P1, P2>( &self, pcategory: Option<*const GUID>, ptype: *const GUID, psource: P0, pfcompressor: P1, pfrenderer: P2 ) -> Result<()>
pub unsafe fn ControlStream<P0>(
&self,
pcategory: *const GUID,
ptype: *const GUID,
pfilter: P0,
pstart: Option<*const i64>,
pstop: Option<*const i64>,
wstartcookie: u16,
wstopcookie: u16
) -> Result<()>where
P0: IntoParam<IBaseFilter>,
pub unsafe fn AllocCapFile<P0>(&self, lpstr: P0, dwlsize: u64) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn CopyCaptureFile<P0, P1, P2>( &self, lpwstrold: P0, lpwstrnew: P1, fallowescabort: i32, pcallback: P2 ) -> Result<()>
pub unsafe fn FindPin<P0, P1>( &self, psource: P0, pindir: PIN_DIRECTION, pcategory: Option<*const GUID>, ptype: Option<*const GUID>, funconnected: P1, num: i32 ) -> Result<IPin>
Trait Implementations§
§impl Clone for ICaptureGraphBuilder2
impl Clone for ICaptureGraphBuilder2
§fn clone(&self) -> ICaptureGraphBuilder2
fn clone(&self) -> ICaptureGraphBuilder2
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 ICaptureGraphBuilder2
impl Debug for ICaptureGraphBuilder2
§impl From<&ICaptureGraphBuilder2> for &IUnknown
impl From<&ICaptureGraphBuilder2> for &IUnknown
§fn from(value: &ICaptureGraphBuilder2) -> Self
fn from(value: &ICaptureGraphBuilder2) -> Self
Converts to this type from the input type.
§impl From<ICaptureGraphBuilder2> for IUnknown
impl From<ICaptureGraphBuilder2> for IUnknown
§fn from(value: ICaptureGraphBuilder2) -> Self
fn from(value: ICaptureGraphBuilder2) -> Self
Converts to this type from the input type.
§impl Interface for ICaptureGraphBuilder2
impl Interface for ICaptureGraphBuilder2
§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 ICaptureGraphBuilder2
impl PartialEq for ICaptureGraphBuilder2
§fn eq(&self, other: &ICaptureGraphBuilder2) -> bool
fn eq(&self, other: &ICaptureGraphBuilder2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICaptureGraphBuilder2
impl StructuralPartialEq for ICaptureGraphBuilder2
Auto Trait Implementations§
impl RefUnwindSafe for ICaptureGraphBuilder2
impl !Send for ICaptureGraphBuilder2
impl !Sync for ICaptureGraphBuilder2
impl Unpin for ICaptureGraphBuilder2
impl UnwindSafe for ICaptureGraphBuilder2
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