Struct windows::Win32::Graphics::Printing::IPrinterPropertyBag
pub struct IPrinterPropertyBag(/* private fields */);
Implementations§
§impl IPrinterPropertyBag
impl IPrinterPropertyBag
pub unsafe fn GetBool<P0>(&self, bstrname: P0) -> Result<BOOL>where
P0: IntoParam<BSTR>,
pub unsafe fn SetBool<P0, P1>(&self, bstrname: P0, bvalue: P1) -> Result<()>
pub unsafe fn GetInt32<P0>(&self, bstrname: P0) -> Result<i32>where
P0: IntoParam<BSTR>,
pub unsafe fn SetInt32<P0>(&self, bstrname: P0, nvalue: i32) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetString<P0>(&self, bstrname: P0) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn SetString<P0, P1>( &self, bstrname: P0, bstrvalue: P1 ) -> Result<()>
pub unsafe fn GetBytes<P0>(
&self,
bstrname: P0,
pcbvalue: *mut u32,
ppvalue: *mut *mut u8
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn SetBytes<P0>(&self, bstrname: P0, pvalue: &[u8]) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetReadStream<P0>(&self, bstrname: P0) -> Result<IStream>where
P0: IntoParam<BSTR>,
pub unsafe fn GetWriteStream<P0>(&self, bstrname: P0) -> Result<IStream>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Clone for IPrinterPropertyBag
impl Clone for IPrinterPropertyBag
§fn clone(&self) -> IPrinterPropertyBag
fn clone(&self) -> IPrinterPropertyBag
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 IPrinterPropertyBag
impl Debug for IPrinterPropertyBag
§impl From<&IPrinterPropertyBag> for &IDispatch
impl From<&IPrinterPropertyBag> for &IDispatch
§fn from(value: &IPrinterPropertyBag) -> Self
fn from(value: &IPrinterPropertyBag) -> Self
Converts to this type from the input type.
§impl From<&IPrinterPropertyBag> for &IUnknown
impl From<&IPrinterPropertyBag> for &IUnknown
§fn from(value: &IPrinterPropertyBag) -> Self
fn from(value: &IPrinterPropertyBag) -> Self
Converts to this type from the input type.
§impl From<IPrinterPropertyBag> for IDispatch
impl From<IPrinterPropertyBag> for IDispatch
§fn from(value: IPrinterPropertyBag) -> Self
fn from(value: IPrinterPropertyBag) -> Self
Converts to this type from the input type.
§impl From<IPrinterPropertyBag> for IUnknown
impl From<IPrinterPropertyBag> for IUnknown
§fn from(value: IPrinterPropertyBag) -> Self
fn from(value: IPrinterPropertyBag) -> Self
Converts to this type from the input type.
§impl Interface for IPrinterPropertyBag
impl Interface for IPrinterPropertyBag
§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 IPrinterPropertyBag
impl PartialEq for IPrinterPropertyBag
§fn eq(&self, other: &IPrinterPropertyBag) -> bool
fn eq(&self, other: &IPrinterPropertyBag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPrinterPropertyBag
impl StructuralPartialEq for IPrinterPropertyBag
Auto Trait Implementations§
impl RefUnwindSafe for IPrinterPropertyBag
impl !Send for IPrinterPropertyBag
impl !Sync for IPrinterPropertyBag
impl Unpin for IPrinterPropertyBag
impl UnwindSafe for IPrinterPropertyBag
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