Struct windows::Win32::Graphics::Printing::IPrinterScriptablePropertyBag
pub struct IPrinterScriptablePropertyBag(/* private fields */);
Implementations§
§impl IPrinterScriptablePropertyBag
impl IPrinterScriptablePropertyBag
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) -> Result<IDispatch>where
P0: IntoParam<BSTR>,
pub unsafe fn SetBytes<P0, P1>(&self, bstrname: P0, parray: P1) -> Result<()>
pub unsafe fn GetReadStream<P0>(
&self,
bstrname: P0
) -> Result<IPrinterScriptableStream>where
P0: IntoParam<BSTR>,
pub unsafe fn GetWriteStream<P0>(
&self,
bstrname: P0
) -> Result<IPrinterScriptableStream>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Clone for IPrinterScriptablePropertyBag
impl Clone for IPrinterScriptablePropertyBag
§fn clone(&self) -> IPrinterScriptablePropertyBag
fn clone(&self) -> IPrinterScriptablePropertyBag
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 IPrinterScriptablePropertyBag
impl Debug for IPrinterScriptablePropertyBag
§impl From<&IPrinterScriptablePropertyBag> for &IDispatch
impl From<&IPrinterScriptablePropertyBag> for &IDispatch
§fn from(value: &IPrinterScriptablePropertyBag) -> Self
fn from(value: &IPrinterScriptablePropertyBag) -> Self
Converts to this type from the input type.
§impl From<&IPrinterScriptablePropertyBag> for &IUnknown
impl From<&IPrinterScriptablePropertyBag> for &IUnknown
§fn from(value: &IPrinterScriptablePropertyBag) -> Self
fn from(value: &IPrinterScriptablePropertyBag) -> Self
Converts to this type from the input type.
§impl From<&IPrinterScriptablePropertyBag2> for &IPrinterScriptablePropertyBag
impl From<&IPrinterScriptablePropertyBag2> for &IPrinterScriptablePropertyBag
§fn from(value: &IPrinterScriptablePropertyBag2) -> Self
fn from(value: &IPrinterScriptablePropertyBag2) -> Self
Converts to this type from the input type.
§impl From<IPrinterScriptablePropertyBag> for IDispatch
impl From<IPrinterScriptablePropertyBag> for IDispatch
§fn from(value: IPrinterScriptablePropertyBag) -> Self
fn from(value: IPrinterScriptablePropertyBag) -> Self
Converts to this type from the input type.
§impl From<IPrinterScriptablePropertyBag> for IUnknown
impl From<IPrinterScriptablePropertyBag> for IUnknown
§fn from(value: IPrinterScriptablePropertyBag) -> Self
fn from(value: IPrinterScriptablePropertyBag) -> Self
Converts to this type from the input type.
§impl From<IPrinterScriptablePropertyBag2> for IPrinterScriptablePropertyBag
impl From<IPrinterScriptablePropertyBag2> for IPrinterScriptablePropertyBag
§fn from(value: IPrinterScriptablePropertyBag2) -> Self
fn from(value: IPrinterScriptablePropertyBag2) -> Self
Converts to this type from the input type.
§impl Interface for IPrinterScriptablePropertyBag
impl Interface for IPrinterScriptablePropertyBag
§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 IPrinterScriptablePropertyBag
impl PartialEq for IPrinterScriptablePropertyBag
§fn eq(&self, other: &IPrinterScriptablePropertyBag) -> bool
fn eq(&self, other: &IPrinterScriptablePropertyBag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPrinterScriptablePropertyBag
impl StructuralPartialEq for IPrinterScriptablePropertyBag
Auto Trait Implementations§
impl RefUnwindSafe for IPrinterScriptablePropertyBag
impl !Send for IPrinterScriptablePropertyBag
impl !Sync for IPrinterScriptablePropertyBag
impl Unpin for IPrinterScriptablePropertyBag
impl UnwindSafe for IPrinterScriptablePropertyBag
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