Struct windows::Win32::Media::PictureAcquisition::IPhotoAcquireSettings
pub struct IPhotoAcquireSettings(/* private fields */);
Implementations§
§impl IPhotoAcquireSettings
impl IPhotoAcquireSettings
pub unsafe fn InitializeFromRegistry<P0>(
&self,
pszregistrykey: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetFlags(&self, dwphotoacquireflags: u32) -> Result<()>
pub unsafe fn SetOutputFilenameTemplate<P0>(
&self,
psztemplate: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetSequencePaddingWidth(&self, dwwidth: u32) -> Result<()>
pub unsafe fn SetSequenceZeroPadding<P0>(&self, fzeropad: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn SetGroupTag<P0>(&self, pszgrouptag: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetAcquisitionTime( &self, pftacquisitiontime: *const FILETIME ) -> Result<()>
pub unsafe fn GetFlags(&self) -> Result<u32>
pub unsafe fn GetOutputFilenameTemplate(&self) -> Result<BSTR>
pub unsafe fn GetSequencePaddingWidth(&self) -> Result<u32>
pub unsafe fn GetSequenceZeroPadding(&self) -> Result<BOOL>
pub unsafe fn GetGroupTag(&self) -> Result<BSTR>
pub unsafe fn GetAcquisitionTime(&self) -> Result<FILETIME>
Trait Implementations§
§impl Clone for IPhotoAcquireSettings
impl Clone for IPhotoAcquireSettings
§fn clone(&self) -> IPhotoAcquireSettings
fn clone(&self) -> IPhotoAcquireSettings
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 IPhotoAcquireSettings
impl Debug for IPhotoAcquireSettings
§impl From<&IPhotoAcquireSettings> for &IUnknown
impl From<&IPhotoAcquireSettings> for &IUnknown
§fn from(value: &IPhotoAcquireSettings) -> Self
fn from(value: &IPhotoAcquireSettings) -> Self
Converts to this type from the input type.
§impl From<IPhotoAcquireSettings> for IUnknown
impl From<IPhotoAcquireSettings> for IUnknown
§fn from(value: IPhotoAcquireSettings) -> Self
fn from(value: IPhotoAcquireSettings) -> Self
Converts to this type from the input type.
§impl Interface for IPhotoAcquireSettings
impl Interface for IPhotoAcquireSettings
§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 IPhotoAcquireSettings
impl PartialEq for IPhotoAcquireSettings
§fn eq(&self, other: &IPhotoAcquireSettings) -> bool
fn eq(&self, other: &IPhotoAcquireSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPhotoAcquireSettings
impl StructuralPartialEq for IPhotoAcquireSettings
Auto Trait Implementations§
impl RefUnwindSafe for IPhotoAcquireSettings
impl !Send for IPhotoAcquireSettings
impl !Sync for IPhotoAcquireSettings
impl Unpin for IPhotoAcquireSettings
impl UnwindSafe for IPhotoAcquireSettings
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