Struct windows::Win32::Graphics::Printing::IPrinterQueue2
pub struct IPrinterQueue2(/* private fields */);
Implementations§
§impl IPrinterQueue2
impl IPrinterQueue2
pub unsafe fn Handle(&self) -> Result<HANDLE>
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn SendBidiQuery<P0>(&self, bstrbidiquery: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetProperties(&self) -> Result<IPrinterPropertyBag>
pub unsafe fn SendBidiSetRequestAsync<P0, P1>(
&self,
bstrbidirequest: P0,
pcallback: P1
) -> Result<IPrinterExtensionAsyncOperation>where
P0: IntoParam<BSTR>,
P1: IntoParam<IPrinterBidiSetRequestCallback>,
pub unsafe fn GetPrinterQueueView( &self, ulviewoffset: u32, ulviewsize: u32 ) -> Result<IPrinterQueueView>
Trait Implementations§
§impl Clone for IPrinterQueue2
impl Clone for IPrinterQueue2
§fn clone(&self) -> IPrinterQueue2
fn clone(&self) -> IPrinterQueue2
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 IPrinterQueue2
impl Debug for IPrinterQueue2
§impl From<&IPrinterQueue2> for &IDispatch
impl From<&IPrinterQueue2> for &IDispatch
§fn from(value: &IPrinterQueue2) -> Self
fn from(value: &IPrinterQueue2) -> Self
Converts to this type from the input type.
§impl From<&IPrinterQueue2> for &IPrinterQueue
impl From<&IPrinterQueue2> for &IPrinterQueue
§fn from(value: &IPrinterQueue2) -> Self
fn from(value: &IPrinterQueue2) -> Self
Converts to this type from the input type.
§impl From<&IPrinterQueue2> for &IUnknown
impl From<&IPrinterQueue2> for &IUnknown
§fn from(value: &IPrinterQueue2) -> Self
fn from(value: &IPrinterQueue2) -> Self
Converts to this type from the input type.
§impl From<IPrinterQueue2> for IDispatch
impl From<IPrinterQueue2> for IDispatch
§fn from(value: IPrinterQueue2) -> Self
fn from(value: IPrinterQueue2) -> Self
Converts to this type from the input type.
§impl From<IPrinterQueue2> for IPrinterQueue
impl From<IPrinterQueue2> for IPrinterQueue
§fn from(value: IPrinterQueue2) -> Self
fn from(value: IPrinterQueue2) -> Self
Converts to this type from the input type.
§impl From<IPrinterQueue2> for IUnknown
impl From<IPrinterQueue2> for IUnknown
§fn from(value: IPrinterQueue2) -> Self
fn from(value: IPrinterQueue2) -> Self
Converts to this type from the input type.
§impl Interface for IPrinterQueue2
impl Interface for IPrinterQueue2
§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 IPrinterQueue2
impl PartialEq for IPrinterQueue2
§fn eq(&self, other: &IPrinterQueue2) -> bool
fn eq(&self, other: &IPrinterQueue2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPrinterQueue2
impl StructuralPartialEq for IPrinterQueue2
Auto Trait Implementations§
impl RefUnwindSafe for IPrinterQueue2
impl !Send for IPrinterQueue2
impl !Sync for IPrinterQueue2
impl Unpin for IPrinterQueue2
impl UnwindSafe for IPrinterQueue2
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