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