pub struct IPrintDialogServices(/* private fields */);
Implementations§
Source§impl IPrintDialogServices
impl IPrintDialogServices
pub unsafe fn GetCurrentDevMode( &self, pdevmode: *mut DEVMODEA, pcbsize: *mut u32, ) -> Result<()>
pub unsafe fn GetCurrentPrinterName( &self, pprintername: PWSTR, pcchsize: *mut u32, ) -> Result<()>
pub unsafe fn GetCurrentPortName( &self, pportname: PWSTR, pcchsize: *mut u32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IPrintDialogServices
impl Clone for IPrintDialogServices
Source§fn clone(&self) -> IPrintDialogServices
fn clone(&self) -> IPrintDialogServices
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 moreSource§impl Debug for IPrintDialogServices
impl Debug for IPrintDialogServices
Source§impl From<&IPrintDialogServices> for IUnknown
impl From<&IPrintDialogServices> for IUnknown
Source§fn from(value: &IPrintDialogServices) -> Self
fn from(value: &IPrintDialogServices) -> Self
Converts to this type from the input type.
Source§impl From<IPrintDialogServices> for IUnknown
impl From<IPrintDialogServices> for IUnknown
Source§fn from(value: IPrintDialogServices) -> Self
fn from(value: IPrintDialogServices) -> Self
Converts to this type from the input type.
Source§impl Interface for IPrintDialogServices
impl Interface for IPrintDialogServices
const IID: Guid
type Vtable = IPrintDialogServices_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IPrintDialogServices
impl PartialEq for IPrintDialogServices
impl Eq for IPrintDialogServices
impl StructuralPartialEq for IPrintDialogServices
Auto Trait Implementations§
impl Freeze for IPrintDialogServices
impl RefUnwindSafe for IPrintDialogServices
impl !Send for IPrintDialogServices
impl !Sync for IPrintDialogServices
impl Unpin for IPrintDialogServices
impl UnwindSafe for IPrintDialogServices
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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