Struct windows::Win32::Media::DirectShow::ICameraControl
pub struct ICameraControl(/* private fields */);
Implementations§
§impl ICameraControl
impl ICameraControl
pub unsafe fn get_Exposure( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_Exposure(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Exposure( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Focus(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Focus(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Focus( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Iris(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Iris(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Iris( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Zoom(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Zoom(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Zoom( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_FocalLengths( &self, plocularfocallength: *mut i32, plobjectivefocallengthmin: *mut i32, plobjectivefocallengthmax: *mut i32, ) -> Result<()>
pub unsafe fn get_Pan(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Pan(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Pan( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Tilt(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Tilt(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Tilt( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_PanTilt( &self, ppanvalue: *mut i32, ptiltvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_PanTilt( &self, panvalue: i32, tiltvalue: i32, flags: i32, ) -> Result<()>
pub unsafe fn get_Roll(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Roll(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Roll( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_ExposureRelative( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_ExposureRelative(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_ExposureRelative( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_FocusRelative( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_FocusRelative(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_FocusRelative( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_IrisRelative( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_IrisRelative(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_IrisRelative( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_ZoomRelative( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_ZoomRelative(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_ZoomRelative( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_PanRelative( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_PanRelative(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn get_TiltRelative( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_TiltRelative(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_TiltRelative( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_PanTiltRelative( &self, ppanvalue: *mut i32, ptiltvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_PanTiltRelative( &self, panvalue: i32, tiltvalue: i32, flags: i32, ) -> Result<()>
pub unsafe fn getRange_PanRelative( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_RollRelative( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_RollRelative(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_RollRelative( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_ScanMode( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_ScanMode(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn get_PrivacyMode( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_PrivacyMode(&self, value: i32, flags: i32) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for ICameraControl
impl CanInto<IUnknown> for ICameraControl
§impl Clone for ICameraControl
impl Clone for ICameraControl
§fn clone(&self) -> ICameraControl
fn clone(&self) -> ICameraControl
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 ICameraControl
impl Debug for ICameraControl
§impl Deref for ICameraControl
impl Deref for ICameraControl
§impl From<&ICameraControl> for &IUnknown
impl From<&ICameraControl> for &IUnknown
§fn from(value: &ICameraControl) -> Self
fn from(value: &ICameraControl) -> Self
Converts to this type from the input type.
§impl From<ICameraControl> for IUnknown
impl From<ICameraControl> for IUnknown
§fn from(value: ICameraControl) -> Self
fn from(value: ICameraControl) -> Self
Converts to this type from the input type.
§impl Interface for ICameraControl
impl Interface for ICameraControl
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ICameraControl
impl PartialEq for ICameraControl
§fn eq(&self, other: &ICameraControl) -> bool
fn eq(&self, other: &ICameraControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICameraControl
impl StructuralPartialEq for ICameraControl
Auto Trait Implementations§
impl Freeze for ICameraControl
impl RefUnwindSafe for ICameraControl
impl !Send for ICameraControl
impl !Sync for ICameraControl
impl Unpin for ICameraControl
impl UnwindSafe for ICameraControl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)