#[repr(C)]pub struct PRINTDLG {Show 19 fields
pub lStructSize: u32,
pub hwndOwner: *mut c_void,
pub hDevMode: *mut c_void,
pub hDevNames: *mut c_void,
pub hDC: *mut c_void,
pub Flags: u32,
pub nFromPage: u16,
pub nToPage: u16,
pub nMinPage: u16,
pub nMaxPage: u16,
pub nCopies: u16,
pub hInstance: *mut c_void,
pub lCustData: isize,
pub lpfnPrintHook: Option<unsafe extern "system" fn(*mut c_void, u32, usize, isize) -> usize>,
pub lpfnSetupHook: Option<unsafe extern "system" fn(*mut c_void, u32, usize, isize) -> usize>,
pub lpPrintTemplateName: *const u16,
pub lpSetupTemplateName: *const u16,
pub hPrintTemplate: *mut c_void,
pub hSetupTemplate: *mut c_void,
}Expand description
C.32 PRINTDLG
contains information that is used by the system to initialize the Print common dialog box and to return the user’s dialog box selections
Fields§
§lStructSize: u32§hwndOwner: *mut c_void§hDevMode: *mut c_void§hDevNames: *mut c_void§hDC: *mut c_void§Flags: u32§nFromPage: u16§nToPage: u16§nMinPage: u16§nMaxPage: u16§nCopies: u16§hInstance: *mut c_void§lCustData: isize§lpfnPrintHook: Option<unsafe extern "system" fn(*mut c_void, u32, usize, isize) -> usize>§lpfnSetupHook: Option<unsafe extern "system" fn(*mut c_void, u32, usize, isize) -> usize>§lpPrintTemplateName: *const u16§lpSetupTemplateName: *const u16§hPrintTemplate: *mut c_void§hSetupTemplate: *mut c_voidTrait Implementations§
Source§impl Default for PRINTDLGW
Available on (AArch64 or target_arch=arm64ec or x86-64) and crate feature Win32_Graphics_Gdi only.
impl Default for PRINTDLGW
Available on (AArch64 or
target_arch=arm64ec or x86-64) and crate feature Win32_Graphics_Gdi only.impl Copy for PRINTDLGW
Auto Trait Implementations§
impl Freeze for PRINTDLGW
impl RefUnwindSafe for PRINTDLGW
impl !Send for PRINTDLGW
impl !Sync for PRINTDLGW
impl Unpin for PRINTDLGW
impl UnwindSafe for PRINTDLGW
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