diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs | 1614 |
1 files changed, 1614 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/vendor/windows-sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs new file mode 100644 index 0000000..8ee1c97 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -0,0 +1,1614 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ChooseColorA(param0 : *mut CHOOSECOLORA) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ChooseColorW(param0 : *mut CHOOSECOLORW) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn ChooseFontA(param0 : *mut CHOOSEFONTA) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn ChooseFontW(param0 : *mut CHOOSEFONTW) -> super::super::super::Foundation:: BOOL); +::windows_targets::link!("comdlg32.dll" "system" fn CommDlgExtendedError() -> COMMON_DLG_ERRORS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindTextA(param0 : *mut FINDREPLACEA) -> super::super::super::Foundation:: HWND); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindTextW(param0 : *mut FINDREPLACEW) -> super::super::super::Foundation:: HWND); +::windows_targets::link!("comdlg32.dll" "system" fn GetFileTitleA(param0 : ::windows_sys::core::PCSTR, buf : ::windows_sys::core::PSTR, cchsize : u16) -> i16); +::windows_targets::link!("comdlg32.dll" "system" fn GetFileTitleW(param0 : ::windows_sys::core::PCWSTR, buf : ::windows_sys::core::PWSTR, cchsize : u16) -> i16); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenFileNameA(param0 : *mut OPENFILENAMEA) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenFileNameW(param0 : *mut OPENFILENAMEW) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSaveFileNameA(param0 : *mut OPENFILENAMEA) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSaveFileNameW(param0 : *mut OPENFILENAMEW) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PageSetupDlgA(param0 : *mut PAGESETUPDLGA) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PageSetupDlgW(param0 : *mut PAGESETUPDLGW) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgA(ppd : *mut PRINTDLGA) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgExA(ppd : *mut PRINTDLGEXA) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgExW(ppd : *mut PRINTDLGEXW) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgW(ppd : *mut PRINTDLGW) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReplaceTextA(param0 : *mut FINDREPLACEA) -> super::super::super::Foundation:: HWND); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReplaceTextW(param0 : *mut FINDREPLACEW) -> super::super::super::Foundation:: HWND); +pub type IPrintDialogCallback = *mut ::core::ffi::c_void; +pub type IPrintDialogServices = *mut ::core::ffi::c_void; +pub const BOLD_FONTTYPE: CHOOSEFONT_FONT_TYPE = 256u16; +pub const CCERR_CHOOSECOLORCODES: COMMON_DLG_ERRORS = 20480u32; +pub const CC_ANYCOLOR: CHOOSECOLOR_FLAGS = 256u32; +pub const CC_ENABLEHOOK: CHOOSECOLOR_FLAGS = 16u32; +pub const CC_ENABLETEMPLATE: CHOOSECOLOR_FLAGS = 32u32; +pub const CC_ENABLETEMPLATEHANDLE: CHOOSECOLOR_FLAGS = 64u32; +pub const CC_FULLOPEN: CHOOSECOLOR_FLAGS = 2u32; +pub const CC_PREVENTFULLOPEN: CHOOSECOLOR_FLAGS = 4u32; +pub const CC_RGBINIT: CHOOSECOLOR_FLAGS = 1u32; +pub const CC_SHOWHELP: CHOOSECOLOR_FLAGS = 8u32; +pub const CC_SOLIDCOLOR: CHOOSECOLOR_FLAGS = 128u32; +pub const CDERR_DIALOGFAILURE: COMMON_DLG_ERRORS = 65535u32; +pub const CDERR_FINDRESFAILURE: COMMON_DLG_ERRORS = 6u32; +pub const CDERR_GENERALCODES: COMMON_DLG_ERRORS = 0u32; +pub const CDERR_INITIALIZATION: COMMON_DLG_ERRORS = 2u32; +pub const CDERR_LOADRESFAILURE: COMMON_DLG_ERRORS = 7u32; +pub const CDERR_LOADSTRFAILURE: COMMON_DLG_ERRORS = 5u32; +pub const CDERR_LOCKRESFAILURE: COMMON_DLG_ERRORS = 8u32; +pub const CDERR_MEMALLOCFAILURE: COMMON_DLG_ERRORS = 9u32; +pub const CDERR_MEMLOCKFAILURE: COMMON_DLG_ERRORS = 10u32; +pub const CDERR_NOHINSTANCE: COMMON_DLG_ERRORS = 4u32; +pub const CDERR_NOHOOK: COMMON_DLG_ERRORS = 11u32; +pub const CDERR_NOTEMPLATE: COMMON_DLG_ERRORS = 3u32; +pub const CDERR_REGISTERMSGFAIL: COMMON_DLG_ERRORS = 12u32; +pub const CDERR_STRUCTSIZE: COMMON_DLG_ERRORS = 1u32; +pub const CDM_FIRST: u32 = 1124u32; +pub const CDM_GETFILEPATH: u32 = 1125u32; +pub const CDM_GETFOLDERIDLIST: u32 = 1127u32; +pub const CDM_GETFOLDERPATH: u32 = 1126u32; +pub const CDM_GETSPEC: u32 = 1124u32; +pub const CDM_HIDECONTROL: u32 = 1129u32; +pub const CDM_LAST: u32 = 1224u32; +pub const CDM_SETCONTROLTEXT: u32 = 1128u32; +pub const CDM_SETDEFEXT: u32 = 1130u32; +pub const CDN_FILEOK: u32 = 4294966690u32; +pub const CDN_FOLDERCHANGE: u32 = 4294966693u32; +pub const CDN_HELP: u32 = 4294966691u32; +pub const CDN_INCLUDEITEM: u32 = 4294966688u32; +pub const CDN_INITDONE: u32 = 4294966695u32; +pub const CDN_SELCHANGE: u32 = 4294966694u32; +pub const CDN_SHAREVIOLATION: u32 = 4294966692u32; +pub const CDN_TYPECHANGE: u32 = 4294966689u32; +pub const CD_LBSELADD: u32 = 2u32; +pub const CD_LBSELCHANGE: u32 = 0u32; +pub const CD_LBSELNOITEMS: i32 = -1i32; +pub const CD_LBSELSUB: u32 = 1u32; +pub const CFERR_CHOOSEFONTCODES: COMMON_DLG_ERRORS = 8192u32; +pub const CFERR_MAXLESSTHANMIN: COMMON_DLG_ERRORS = 8194u32; +pub const CFERR_NOFONTS: COMMON_DLG_ERRORS = 8193u32; +pub const CF_ANSIONLY: CHOOSEFONT_FLAGS = 1024u32; +pub const CF_APPLY: CHOOSEFONT_FLAGS = 512u32; +pub const CF_BOTH: CHOOSEFONT_FLAGS = 3u32; +pub const CF_EFFECTS: CHOOSEFONT_FLAGS = 256u32; +pub const CF_ENABLEHOOK: CHOOSEFONT_FLAGS = 8u32; +pub const CF_ENABLETEMPLATE: CHOOSEFONT_FLAGS = 16u32; +pub const CF_ENABLETEMPLATEHANDLE: CHOOSEFONT_FLAGS = 32u32; +pub const CF_FIXEDPITCHONLY: CHOOSEFONT_FLAGS = 16384u32; +pub const CF_FORCEFONTEXIST: CHOOSEFONT_FLAGS = 65536u32; +pub const CF_INACTIVEFONTS: CHOOSEFONT_FLAGS = 33554432u32; +pub const CF_INITTOLOGFONTSTRUCT: CHOOSEFONT_FLAGS = 64u32; +pub const CF_LIMITSIZE: CHOOSEFONT_FLAGS = 8192u32; +pub const CF_NOFACESEL: CHOOSEFONT_FLAGS = 524288u32; +pub const CF_NOOEMFONTS: CHOOSEFONT_FLAGS = 2048u32; +pub const CF_NOSCRIPTSEL: CHOOSEFONT_FLAGS = 8388608u32; +pub const CF_NOSIMULATIONS: CHOOSEFONT_FLAGS = 4096u32; +pub const CF_NOSIZESEL: CHOOSEFONT_FLAGS = 2097152u32; +pub const CF_NOSTYLESEL: CHOOSEFONT_FLAGS = 1048576u32; +pub const CF_NOVECTORFONTS: CHOOSEFONT_FLAGS = 2048u32; +pub const CF_NOVERTFONTS: CHOOSEFONT_FLAGS = 16777216u32; +pub const CF_PRINTERFONTS: CHOOSEFONT_FLAGS = 2u32; +pub const CF_SCALABLEONLY: CHOOSEFONT_FLAGS = 131072u32; +pub const CF_SCREENFONTS: CHOOSEFONT_FLAGS = 1u32; +pub const CF_SCRIPTSONLY: CHOOSEFONT_FLAGS = 1024u32; +pub const CF_SELECTSCRIPT: CHOOSEFONT_FLAGS = 4194304u32; +pub const CF_SHOWHELP: CHOOSEFONT_FLAGS = 4u32; +pub const CF_TTONLY: CHOOSEFONT_FLAGS = 262144u32; +pub const CF_USESTYLE: CHOOSEFONT_FLAGS = 128u32; +pub const CF_WYSIWYG: CHOOSEFONT_FLAGS = 32768u32; +pub const COLOROKSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ColorOK"); +pub const COLOROKSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_ColorOK"); +pub const COLOROKSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ColorOK"); +pub const COLOR_ADD: u32 = 712u32; +pub const COLOR_BLUE: u32 = 708u32; +pub const COLOR_BLUEACCEL: u32 = 728u32; +pub const COLOR_BOX1: u32 = 720u32; +pub const COLOR_CURRENT: u32 = 709u32; +pub const COLOR_CUSTOM1: u32 = 721u32; +pub const COLOR_ELEMENT: u32 = 716u32; +pub const COLOR_GREEN: u32 = 707u32; +pub const COLOR_GREENACCEL: u32 = 727u32; +pub const COLOR_HUE: u32 = 703u32; +pub const COLOR_HUEACCEL: u32 = 723u32; +pub const COLOR_HUESCROLL: u32 = 700u32; +pub const COLOR_LUM: u32 = 705u32; +pub const COLOR_LUMACCEL: u32 = 725u32; +pub const COLOR_LUMSCROLL: u32 = 702u32; +pub const COLOR_MIX: u32 = 719u32; +pub const COLOR_PALETTE: u32 = 718u32; +pub const COLOR_RAINBOW: u32 = 710u32; +pub const COLOR_RED: u32 = 706u32; +pub const COLOR_REDACCEL: u32 = 726u32; +pub const COLOR_SAMPLES: u32 = 717u32; +pub const COLOR_SAT: u32 = 704u32; +pub const COLOR_SATACCEL: u32 = 724u32; +pub const COLOR_SATSCROLL: u32 = 701u32; +pub const COLOR_SAVE: u32 = 711u32; +pub const COLOR_SCHEMES: u32 = 715u32; +pub const COLOR_SOLID: u32 = 713u32; +pub const COLOR_SOLID_LEFT: u32 = 730u32; +pub const COLOR_SOLID_RIGHT: u32 = 731u32; +pub const COLOR_TUNE: u32 = 714u32; +pub const DLG_COLOR: u32 = 10u32; +pub const DN_DEFAULTPRN: u32 = 1u32; +pub const FILEOKSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FileNameOK"); +pub const FILEOKSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_FileNameOK"); +pub const FILEOKSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FileNameOK"); +pub const FINDMSGSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FindReplace"); +pub const FINDMSGSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_FindReplace"); +pub const FINDMSGSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FindReplace"); +pub const FNERR_BUFFERTOOSMALL: COMMON_DLG_ERRORS = 12291u32; +pub const FNERR_FILENAMECODES: COMMON_DLG_ERRORS = 12288u32; +pub const FNERR_INVALIDFILENAME: COMMON_DLG_ERRORS = 12290u32; +pub const FNERR_SUBCLASSFAILURE: COMMON_DLG_ERRORS = 12289u32; +pub const FRERR_BUFFERLENGTHZERO: COMMON_DLG_ERRORS = 16385u32; +pub const FRERR_FINDREPLACECODES: COMMON_DLG_ERRORS = 16384u32; +pub const FRM_FIRST: u32 = 1124u32; +pub const FRM_LAST: u32 = 1224u32; +pub const FRM_SETOPERATIONRESULT: u32 = 1124u32; +pub const FRM_SETOPERATIONRESULTTEXT: u32 = 1125u32; +pub const FR_DIALOGTERM: FINDREPLACE_FLAGS = 64u32; +pub const FR_DOWN: FINDREPLACE_FLAGS = 1u32; +pub const FR_ENABLEHOOK: FINDREPLACE_FLAGS = 256u32; +pub const FR_ENABLETEMPLATE: FINDREPLACE_FLAGS = 512u32; +pub const FR_ENABLETEMPLATEHANDLE: FINDREPLACE_FLAGS = 8192u32; +pub const FR_FINDNEXT: FINDREPLACE_FLAGS = 8u32; +pub const FR_HIDEMATCHCASE: FINDREPLACE_FLAGS = 32768u32; +pub const FR_HIDEUPDOWN: FINDREPLACE_FLAGS = 16384u32; +pub const FR_HIDEWHOLEWORD: FINDREPLACE_FLAGS = 65536u32; +pub const FR_MATCHALEFHAMZA: FINDREPLACE_FLAGS = 2147483648u32; +pub const FR_MATCHCASE: FINDREPLACE_FLAGS = 4u32; +pub const FR_MATCHDIAC: FINDREPLACE_FLAGS = 536870912u32; +pub const FR_MATCHKASHIDA: FINDREPLACE_FLAGS = 1073741824u32; +pub const FR_NOMATCHCASE: FINDREPLACE_FLAGS = 2048u32; +pub const FR_NOUPDOWN: FINDREPLACE_FLAGS = 1024u32; +pub const FR_NOWHOLEWORD: FINDREPLACE_FLAGS = 4096u32; +pub const FR_NOWRAPAROUND: FINDREPLACE_FLAGS = 524288u32; +pub const FR_RAW: FINDREPLACE_FLAGS = 131072u32; +pub const FR_REPLACE: FINDREPLACE_FLAGS = 16u32; +pub const FR_REPLACEALL: FINDREPLACE_FLAGS = 32u32; +pub const FR_SHOWHELP: FINDREPLACE_FLAGS = 128u32; +pub const FR_SHOWWRAPAROUND: FINDREPLACE_FLAGS = 262144u32; +pub const FR_WHOLEWORD: FINDREPLACE_FLAGS = 2u32; +pub const FR_WRAPAROUND: FINDREPLACE_FLAGS = 1048576u32; +pub const HELPMSGSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_help"); +pub const HELPMSGSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_help"); +pub const HELPMSGSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_help"); +pub const ITALIC_FONTTYPE: CHOOSEFONT_FONT_TYPE = 512u16; +pub const LBSELCHSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_LBSelChangedNotify"); +pub const LBSELCHSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_LBSelChangedNotify"); +pub const LBSELCHSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_LBSelChangedNotify"); +pub const NUM_BASIC_COLORS: u32 = 48u32; +pub const NUM_CUSTOM_COLORS: u32 = 16u32; +pub const OFN_ALLOWMULTISELECT: OPEN_FILENAME_FLAGS = 512u32; +pub const OFN_CREATEPROMPT: OPEN_FILENAME_FLAGS = 8192u32; +pub const OFN_DONTADDTORECENT: OPEN_FILENAME_FLAGS = 33554432u32; +pub const OFN_ENABLEHOOK: OPEN_FILENAME_FLAGS = 32u32; +pub const OFN_ENABLEINCLUDENOTIFY: OPEN_FILENAME_FLAGS = 4194304u32; +pub const OFN_ENABLESIZING: OPEN_FILENAME_FLAGS = 8388608u32; +pub const OFN_ENABLETEMPLATE: OPEN_FILENAME_FLAGS = 64u32; +pub const OFN_ENABLETEMPLATEHANDLE: OPEN_FILENAME_FLAGS = 128u32; +pub const OFN_EXPLORER: OPEN_FILENAME_FLAGS = 524288u32; +pub const OFN_EXTENSIONDIFFERENT: OPEN_FILENAME_FLAGS = 1024u32; +pub const OFN_EX_NONE: OPEN_FILENAME_FLAGS_EX = 0u32; +pub const OFN_EX_NOPLACESBAR: OPEN_FILENAME_FLAGS_EX = 1u32; +pub const OFN_FILEMUSTEXIST: OPEN_FILENAME_FLAGS = 4096u32; +pub const OFN_FORCESHOWHIDDEN: OPEN_FILENAME_FLAGS = 268435456u32; +pub const OFN_HIDEREADONLY: OPEN_FILENAME_FLAGS = 4u32; +pub const OFN_LONGNAMES: OPEN_FILENAME_FLAGS = 2097152u32; +pub const OFN_NOCHANGEDIR: OPEN_FILENAME_FLAGS = 8u32; +pub const OFN_NODEREFERENCELINKS: OPEN_FILENAME_FLAGS = 1048576u32; +pub const OFN_NOLONGNAMES: OPEN_FILENAME_FLAGS = 262144u32; +pub const OFN_NONETWORKBUTTON: OPEN_FILENAME_FLAGS = 131072u32; +pub const OFN_NOREADONLYRETURN: OPEN_FILENAME_FLAGS = 32768u32; +pub const OFN_NOTESTFILECREATE: OPEN_FILENAME_FLAGS = 65536u32; +pub const OFN_NOVALIDATE: OPEN_FILENAME_FLAGS = 256u32; +pub const OFN_OVERWRITEPROMPT: OPEN_FILENAME_FLAGS = 2u32; +pub const OFN_PATHMUSTEXIST: OPEN_FILENAME_FLAGS = 2048u32; +pub const OFN_READONLY: OPEN_FILENAME_FLAGS = 1u32; +pub const OFN_SHAREAWARE: OPEN_FILENAME_FLAGS = 16384u32; +pub const OFN_SHAREFALLTHROUGH: u32 = 2u32; +pub const OFN_SHARENOWARN: u32 = 1u32; +pub const OFN_SHAREWARN: u32 = 0u32; +pub const OFN_SHOWHELP: OPEN_FILENAME_FLAGS = 16u32; +pub const PDERR_CREATEICFAILURE: COMMON_DLG_ERRORS = 4106u32; +pub const PDERR_DEFAULTDIFFERENT: COMMON_DLG_ERRORS = 4108u32; +pub const PDERR_DNDMMISMATCH: COMMON_DLG_ERRORS = 4105u32; +pub const PDERR_GETDEVMODEFAIL: COMMON_DLG_ERRORS = 4101u32; +pub const PDERR_INITFAILURE: COMMON_DLG_ERRORS = 4102u32; +pub const PDERR_LOADDRVFAILURE: COMMON_DLG_ERRORS = 4100u32; +pub const PDERR_NODEFAULTPRN: COMMON_DLG_ERRORS = 4104u32; +pub const PDERR_NODEVICES: COMMON_DLG_ERRORS = 4103u32; +pub const PDERR_PARSEFAILURE: COMMON_DLG_ERRORS = 4098u32; +pub const PDERR_PRINTERCODES: COMMON_DLG_ERRORS = 4096u32; +pub const PDERR_PRINTERNOTFOUND: COMMON_DLG_ERRORS = 4107u32; +pub const PDERR_RETDEFFAILURE: COMMON_DLG_ERRORS = 4099u32; +pub const PDERR_SETUPFAILURE: COMMON_DLG_ERRORS = 4097u32; +pub const PD_ALLPAGES: PRINTDLGEX_FLAGS = 0u32; +pub const PD_COLLATE: PRINTDLGEX_FLAGS = 16u32; +pub const PD_CURRENTPAGE: PRINTDLGEX_FLAGS = 4194304u32; +pub const PD_DISABLEPRINTTOFILE: PRINTDLGEX_FLAGS = 524288u32; +pub const PD_ENABLEPRINTHOOK: PRINTDLGEX_FLAGS = 4096u32; +pub const PD_ENABLEPRINTTEMPLATE: PRINTDLGEX_FLAGS = 16384u32; +pub const PD_ENABLEPRINTTEMPLATEHANDLE: PRINTDLGEX_FLAGS = 65536u32; +pub const PD_ENABLESETUPHOOK: PRINTDLGEX_FLAGS = 8192u32; +pub const PD_ENABLESETUPTEMPLATE: PRINTDLGEX_FLAGS = 32768u32; +pub const PD_ENABLESETUPTEMPLATEHANDLE: PRINTDLGEX_FLAGS = 131072u32; +pub const PD_EXCLUSIONFLAGS: PRINTDLGEX_FLAGS = 16777216u32; +pub const PD_HIDEPRINTTOFILE: PRINTDLGEX_FLAGS = 1048576u32; +pub const PD_NOCURRENTPAGE: PRINTDLGEX_FLAGS = 8388608u32; +pub const PD_NONETWORKBUTTON: PRINTDLGEX_FLAGS = 2097152u32; +pub const PD_NOPAGENUMS: PRINTDLGEX_FLAGS = 8u32; +pub const PD_NOSELECTION: PRINTDLGEX_FLAGS = 4u32; +pub const PD_NOWARNING: PRINTDLGEX_FLAGS = 128u32; +pub const PD_PAGENUMS: PRINTDLGEX_FLAGS = 2u32; +pub const PD_PRINTSETUP: PRINTDLGEX_FLAGS = 64u32; +pub const PD_PRINTTOFILE: PRINTDLGEX_FLAGS = 32u32; +pub const PD_RESULT_APPLY: u32 = 2u32; +pub const PD_RESULT_CANCEL: u32 = 0u32; +pub const PD_RESULT_PRINT: u32 = 1u32; +pub const PD_RETURNDC: PRINTDLGEX_FLAGS = 256u32; +pub const PD_RETURNDEFAULT: PRINTDLGEX_FLAGS = 1024u32; +pub const PD_RETURNIC: PRINTDLGEX_FLAGS = 512u32; +pub const PD_SELECTION: PRINTDLGEX_FLAGS = 1u32; +pub const PD_SHOWHELP: PRINTDLGEX_FLAGS = 2048u32; +pub const PD_USEDEVMODECOPIES: PRINTDLGEX_FLAGS = 262144u32; +pub const PD_USEDEVMODECOPIESANDCOLLATE: PRINTDLGEX_FLAGS = 262144u32; +pub const PD_USELARGETEMPLATE: PRINTDLGEX_FLAGS = 268435456u32; +pub const PRINTER_FONTTYPE: CHOOSEFONT_FONT_TYPE = 16384u16; +pub const PSD_DEFAULTMINMARGINS: PAGESETUPDLG_FLAGS = 0u32; +pub const PSD_DISABLEMARGINS: PAGESETUPDLG_FLAGS = 16u32; +pub const PSD_DISABLEORIENTATION: PAGESETUPDLG_FLAGS = 256u32; +pub const PSD_DISABLEPAGEPAINTING: PAGESETUPDLG_FLAGS = 524288u32; +pub const PSD_DISABLEPAPER: PAGESETUPDLG_FLAGS = 512u32; +pub const PSD_DISABLEPRINTER: PAGESETUPDLG_FLAGS = 32u32; +pub const PSD_ENABLEPAGEPAINTHOOK: PAGESETUPDLG_FLAGS = 262144u32; +pub const PSD_ENABLEPAGESETUPHOOK: PAGESETUPDLG_FLAGS = 8192u32; +pub const PSD_ENABLEPAGESETUPTEMPLATE: PAGESETUPDLG_FLAGS = 32768u32; +pub const PSD_ENABLEPAGESETUPTEMPLATEHANDLE: PAGESETUPDLG_FLAGS = 131072u32; +pub const PSD_INHUNDREDTHSOFMILLIMETERS: PAGESETUPDLG_FLAGS = 8u32; +pub const PSD_INTHOUSANDTHSOFINCHES: PAGESETUPDLG_FLAGS = 4u32; +pub const PSD_INWININIINTLMEASURE: PAGESETUPDLG_FLAGS = 0u32; +pub const PSD_MARGINS: PAGESETUPDLG_FLAGS = 2u32; +pub const PSD_MINMARGINS: PAGESETUPDLG_FLAGS = 1u32; +pub const PSD_NONETWORKBUTTON: PAGESETUPDLG_FLAGS = 2097152u32; +pub const PSD_NOWARNING: PAGESETUPDLG_FLAGS = 128u32; +pub const PSD_RETURNDEFAULT: PAGESETUPDLG_FLAGS = 1024u32; +pub const PSD_SHOWHELP: PAGESETUPDLG_FLAGS = 2048u32; +pub const PS_OPENTYPE_FONTTYPE: u32 = 65536u32; +pub const REGULAR_FONTTYPE: CHOOSEFONT_FONT_TYPE = 1024u16; +pub const SCREEN_FONTTYPE: CHOOSEFONT_FONT_TYPE = 8192u16; +pub const SETRGBSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_SetRGBColor"); +pub const SETRGBSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_SetRGBColor"); +pub const SETRGBSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_SetRGBColor"); +pub const SHAREVISTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ShareViolation"); +pub const SHAREVISTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_ShareViolation"); +pub const SHAREVISTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ShareViolation"); +pub const SIMULATED_FONTTYPE: CHOOSEFONT_FONT_TYPE = 32768u16; +pub const START_PAGE_GENERAL: u32 = 4294967295u32; +pub const SYMBOL_FONTTYPE: u32 = 524288u32; +pub const TT_OPENTYPE_FONTTYPE: u32 = 131072u32; +pub const TYPE1_FONTTYPE: u32 = 262144u32; +pub const WM_CHOOSEFONT_GETLOGFONT: u32 = 1025u32; +pub const WM_CHOOSEFONT_SETFLAGS: u32 = 1126u32; +pub const WM_CHOOSEFONT_SETLOGFONT: u32 = 1125u32; +pub const WM_PSD_ENVSTAMPRECT: u32 = 1029u32; +pub const WM_PSD_FULLPAGERECT: u32 = 1025u32; +pub const WM_PSD_GREEKTEXTRECT: u32 = 1028u32; +pub const WM_PSD_MARGINRECT: u32 = 1027u32; +pub const WM_PSD_MINMARGINRECT: u32 = 1026u32; +pub const WM_PSD_YAFULLPAGERECT: u32 = 1030u32; +pub type CHOOSECOLOR_FLAGS = u32; +pub type CHOOSEFONT_FLAGS = u32; +pub type CHOOSEFONT_FONT_TYPE = u16; +pub type COMMON_DLG_ERRORS = u32; +pub type FINDREPLACE_FLAGS = u32; +pub type OPEN_FILENAME_FLAGS = u32; +pub type OPEN_FILENAME_FLAGS_EX = u32; +pub type PAGESETUPDLG_FLAGS = u32; +pub type PRINTDLGEX_FLAGS = u32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct CHOOSECOLORA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HWND, + pub rgbResult: super::super::super::Foundation::COLORREF, + pub lpCustColors: *mut super::super::super::Foundation::COLORREF, + pub Flags: CHOOSECOLOR_FLAGS, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCCHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CHOOSECOLORA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CHOOSECOLORA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct CHOOSECOLORA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HWND, + pub rgbResult: super::super::super::Foundation::COLORREF, + pub lpCustColors: *mut super::super::super::Foundation::COLORREF, + pub Flags: CHOOSECOLOR_FLAGS, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCCHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CHOOSECOLORA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CHOOSECOLORA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct CHOOSECOLORW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HWND, + pub rgbResult: super::super::super::Foundation::COLORREF, + pub lpCustColors: *mut super::super::super::Foundation::COLORREF, + pub Flags: CHOOSECOLOR_FLAGS, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCCHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CHOOSECOLORW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CHOOSECOLORW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct CHOOSECOLORW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HWND, + pub rgbResult: super::super::super::Foundation::COLORREF, + pub lpCustColors: *mut super::super::super::Foundation::COLORREF, + pub Flags: CHOOSECOLOR_FLAGS, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCCHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CHOOSECOLORW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CHOOSECOLORW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct CHOOSEFONTA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTA, + pub iPointSize: i32, + pub Flags: CHOOSEFONT_FLAGS, + pub rgbColors: super::super::super::Foundation::COLORREF, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCFHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpszStyle: ::windows_sys::core::PSTR, + pub nFontType: CHOOSEFONT_FONT_TYPE, + pub ___MISSING_ALIGNMENT__: u16, + pub nSizeMin: i32, + pub nSizeMax: i32, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for CHOOSEFONTA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for CHOOSEFONTA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct CHOOSEFONTA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTA, + pub iPointSize: i32, + pub Flags: CHOOSEFONT_FLAGS, + pub rgbColors: super::super::super::Foundation::COLORREF, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCFHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpszStyle: ::windows_sys::core::PSTR, + pub nFontType: CHOOSEFONT_FONT_TYPE, + pub ___MISSING_ALIGNMENT__: u16, + pub nSizeMin: i32, + pub nSizeMax: i32, +} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for CHOOSEFONTA {} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for CHOOSEFONTA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct CHOOSEFONTW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTW, + pub iPointSize: i32, + pub Flags: CHOOSEFONT_FLAGS, + pub rgbColors: super::super::super::Foundation::COLORREF, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCFHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpszStyle: ::windows_sys::core::PWSTR, + pub nFontType: CHOOSEFONT_FONT_TYPE, + pub ___MISSING_ALIGNMENT__: u16, + pub nSizeMin: i32, + pub nSizeMax: i32, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for CHOOSEFONTW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for CHOOSEFONTW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct CHOOSEFONTW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTW, + pub iPointSize: i32, + pub Flags: CHOOSEFONT_FLAGS, + pub rgbColors: super::super::super::Foundation::COLORREF, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPCFHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpszStyle: ::windows_sys::core::PWSTR, + pub nFontType: CHOOSEFONT_FONT_TYPE, + pub ___MISSING_ALIGNMENT__: u16, + pub nSizeMin: i32, + pub nSizeMax: i32, +} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for CHOOSEFONTW {} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for CHOOSEFONTW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +pub struct DEVNAMES { + pub wDriverOffset: u16, + pub wDeviceOffset: u16, + pub wOutputOffset: u16, + pub wDefault: u16, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::marker::Copy for DEVNAMES {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::clone::Clone for DEVNAMES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[cfg(target_arch = "x86")] +pub struct DEVNAMES { + pub wDriverOffset: u16, + pub wDeviceOffset: u16, + pub wOutputOffset: u16, + pub wDefault: u16, +} +#[cfg(target_arch = "x86")] +impl ::core::marker::Copy for DEVNAMES {} +#[cfg(target_arch = "x86")] +impl ::core::clone::Clone for DEVNAMES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct FINDREPLACEA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub Flags: FINDREPLACE_FLAGS, + pub lpstrFindWhat: ::windows_sys::core::PSTR, + pub lpstrReplaceWith: ::windows_sys::core::PSTR, + pub wFindWhatLen: u16, + pub wReplaceWithLen: u16, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPFRHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FINDREPLACEA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FINDREPLACEA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct FINDREPLACEA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub Flags: FINDREPLACE_FLAGS, + pub lpstrFindWhat: ::windows_sys::core::PSTR, + pub lpstrReplaceWith: ::windows_sys::core::PSTR, + pub wFindWhatLen: u16, + pub wReplaceWithLen: u16, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPFRHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FINDREPLACEA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FINDREPLACEA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct FINDREPLACEW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub Flags: FINDREPLACE_FLAGS, + pub lpstrFindWhat: ::windows_sys::core::PWSTR, + pub lpstrReplaceWith: ::windows_sys::core::PWSTR, + pub wFindWhatLen: u16, + pub wReplaceWithLen: u16, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPFRHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FINDREPLACEW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FINDREPLACEW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct FINDREPLACEW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub Flags: FINDREPLACE_FLAGS, + pub lpstrFindWhat: ::windows_sys::core::PWSTR, + pub lpstrReplaceWith: ::windows_sys::core::PWSTR, + pub wFindWhatLen: u16, + pub wReplaceWithLen: u16, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPFRHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FINDREPLACEW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FINDREPLACEW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYA { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEA, + pub pszFile: ::windows_sys::core::PSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYA { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEA, + pub pszFile: ::windows_sys::core::PSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYEXA { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEA, + pub psf: *mut ::core::ffi::c_void, + pub pidl: *mut ::core::ffi::c_void, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYEXA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYEXA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYEXA { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEA, + pub psf: *mut ::core::ffi::c_void, + pub pidl: *mut ::core::ffi::c_void, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYEXA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYEXA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYEXW { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEW, + pub psf: *mut ::core::ffi::c_void, + pub pidl: *mut ::core::ffi::c_void, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYEXW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYEXW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYEXW { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEW, + pub psf: *mut ::core::ffi::c_void, + pub pidl: *mut ::core::ffi::c_void, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYEXW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYEXW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYW { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEW, + pub pszFile: ::windows_sys::core::PWSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OFNOTIFYW { + pub hdr: super::NMHDR, + pub lpOFN: *mut OPENFILENAMEW, + pub pszFile: ::windows_sys::core::PWSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFNOTIFYW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFNOTIFYW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAMEA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCSTR, + pub lpstrCustomFilter: ::windows_sys::core::PSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCSTR, + pub lpstrTitle: ::windows_sys::core::PCSTR, + pub Flags: OPEN_FILENAME_FLAGS, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, + pub pvReserved: *mut ::core::ffi::c_void, + pub dwReserved: u32, + pub FlagsEx: OPEN_FILENAME_FLAGS_EX, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAMEA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAMEA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAMEA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCSTR, + pub lpstrCustomFilter: ::windows_sys::core::PSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCSTR, + pub lpstrTitle: ::windows_sys::core::PCSTR, + pub Flags: OPEN_FILENAME_FLAGS, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, + pub pvReserved: *mut ::core::ffi::c_void, + pub dwReserved: u32, + pub FlagsEx: OPEN_FILENAME_FLAGS_EX, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAMEA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAMEA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAMEW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCWSTR, + pub lpstrCustomFilter: ::windows_sys::core::PWSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PWSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PWSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCWSTR, + pub lpstrTitle: ::windows_sys::core::PCWSTR, + pub Flags: OPEN_FILENAME_FLAGS, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCWSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, + pub pvReserved: *mut ::core::ffi::c_void, + pub dwReserved: u32, + pub FlagsEx: OPEN_FILENAME_FLAGS_EX, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAMEW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAMEW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAMEW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCWSTR, + pub lpstrCustomFilter: ::windows_sys::core::PWSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PWSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PWSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCWSTR, + pub lpstrTitle: ::windows_sys::core::PCWSTR, + pub Flags: OPEN_FILENAME_FLAGS, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCWSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, + pub pvReserved: *mut ::core::ffi::c_void, + pub dwReserved: u32, + pub FlagsEx: OPEN_FILENAME_FLAGS_EX, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAMEW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAMEW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAME_NT4A { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCSTR, + pub lpstrCustomFilter: ::windows_sys::core::PSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCSTR, + pub lpstrTitle: ::windows_sys::core::PCSTR, + pub Flags: u32, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAME_NT4A {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAME_NT4A { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAME_NT4A { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCSTR, + pub lpstrCustomFilter: ::windows_sys::core::PSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCSTR, + pub lpstrTitle: ::windows_sys::core::PCSTR, + pub Flags: u32, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAME_NT4A {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAME_NT4A { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAME_NT4W { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCWSTR, + pub lpstrCustomFilter: ::windows_sys::core::PWSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PWSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PWSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCWSTR, + pub lpstrTitle: ::windows_sys::core::PCWSTR, + pub Flags: u32, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCWSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAME_NT4W {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAME_NT4W { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct OPENFILENAME_NT4W { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpstrFilter: ::windows_sys::core::PCWSTR, + pub lpstrCustomFilter: ::windows_sys::core::PWSTR, + pub nMaxCustFilter: u32, + pub nFilterIndex: u32, + pub lpstrFile: ::windows_sys::core::PWSTR, + pub nMaxFile: u32, + pub lpstrFileTitle: ::windows_sys::core::PWSTR, + pub nMaxFileTitle: u32, + pub lpstrInitialDir: ::windows_sys::core::PCWSTR, + pub lpstrTitle: ::windows_sys::core::PCWSTR, + pub Flags: u32, + pub nFileOffset: u16, + pub nFileExtension: u16, + pub lpstrDefExt: ::windows_sys::core::PCWSTR, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnHook: LPOFNHOOKPROC, + pub lpTemplateName: ::windows_sys::core::PCWSTR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OPENFILENAME_NT4W {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OPENFILENAME_NT4W { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct PAGESETUPDLGA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub Flags: PAGESETUPDLG_FLAGS, + pub ptPaperSize: super::super::super::Foundation::POINT, + pub rtMinMargin: super::super::super::Foundation::RECT, + pub rtMargin: super::super::super::Foundation::RECT, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPageSetupHook: LPPAGESETUPHOOK, + pub lpfnPagePaintHook: LPPAGEPAINTHOOK, + pub lpPageSetupTemplateName: ::windows_sys::core::PCSTR, + pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PAGESETUPDLGA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PAGESETUPDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct PAGESETUPDLGA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub Flags: PAGESETUPDLG_FLAGS, + pub ptPaperSize: super::super::super::Foundation::POINT, + pub rtMinMargin: super::super::super::Foundation::RECT, + pub rtMargin: super::super::super::Foundation::RECT, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPageSetupHook: LPPAGESETUPHOOK, + pub lpfnPagePaintHook: LPPAGEPAINTHOOK, + pub lpPageSetupTemplateName: ::windows_sys::core::PCSTR, + pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PAGESETUPDLGA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PAGESETUPDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct PAGESETUPDLGW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub Flags: PAGESETUPDLG_FLAGS, + pub ptPaperSize: super::super::super::Foundation::POINT, + pub rtMinMargin: super::super::super::Foundation::RECT, + pub rtMargin: super::super::super::Foundation::RECT, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPageSetupHook: LPPAGESETUPHOOK, + pub lpfnPagePaintHook: LPPAGEPAINTHOOK, + pub lpPageSetupTemplateName: ::windows_sys::core::PCWSTR, + pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PAGESETUPDLGW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PAGESETUPDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct PAGESETUPDLGW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub Flags: PAGESETUPDLG_FLAGS, + pub ptPaperSize: super::super::super::Foundation::POINT, + pub rtMinMargin: super::super::super::Foundation::RECT, + pub rtMargin: super::super::super::Foundation::RECT, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPageSetupHook: LPPAGESETUPHOOK, + pub lpfnPagePaintHook: LPPAGEPAINTHOOK, + pub lpPageSetupTemplateName: ::windows_sys::core::PCWSTR, + pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PAGESETUPDLGW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PAGESETUPDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub nFromPage: u16, + pub nToPage: u16, + pub nMinPage: u16, + pub nMaxPage: u16, + pub nCopies: u16, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPrintHook: LPPRINTHOOKPROC, + pub lpfnSetupHook: LPSETUPHOOKPROC, + pub lpPrintTemplateName: ::windows_sys::core::PCSTR, + pub lpSetupTemplateName: ::windows_sys::core::PCSTR, + pub hPrintTemplate: super::super::super::Foundation::HGLOBAL, + pub hSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub nFromPage: u16, + pub nToPage: u16, + pub nMinPage: u16, + pub nMaxPage: u16, + pub nCopies: u16, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPrintHook: LPPRINTHOOKPROC, + pub lpfnSetupHook: LPSETUPHOOKPROC, + pub lpPrintTemplateName: ::windows_sys::core::PCSTR, + pub lpSetupTemplateName: ::windows_sys::core::PCSTR, + pub hPrintTemplate: super::super::super::Foundation::HGLOBAL, + pub hSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGA {} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGEXA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub Flags2: u32, + pub ExclusionFlags: u32, + pub nPageRanges: u32, + pub nMaxPageRanges: u32, + pub lpPageRanges: *mut PRINTPAGERANGE, + pub nMinPage: u32, + pub nMaxPage: u32, + pub nCopies: u32, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpPrintTemplateName: ::windows_sys::core::PCSTR, + pub lpCallback: ::windows_sys::core::IUnknown, + pub nPropertyPages: u32, + pub lphPropertyPages: *mut super::HPROPSHEETPAGE, + pub nStartPage: u32, + pub dwResultAction: u32, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGEXA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGEXA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGEXA { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub Flags2: u32, + pub ExclusionFlags: u32, + pub nPageRanges: u32, + pub nMaxPageRanges: u32, + pub lpPageRanges: *mut PRINTPAGERANGE, + pub nMinPage: u32, + pub nMaxPage: u32, + pub nCopies: u32, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpPrintTemplateName: ::windows_sys::core::PCSTR, + pub lpCallback: ::windows_sys::core::IUnknown, + pub nPropertyPages: u32, + pub lphPropertyPages: *mut super::HPROPSHEETPAGE, + pub nStartPage: u32, + pub dwResultAction: u32, +} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGEXA {} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGEXA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGEXW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub Flags2: u32, + pub ExclusionFlags: u32, + pub nPageRanges: u32, + pub nMaxPageRanges: u32, + pub lpPageRanges: *mut PRINTPAGERANGE, + pub nMinPage: u32, + pub nMaxPage: u32, + pub nCopies: u32, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpPrintTemplateName: ::windows_sys::core::PCWSTR, + pub lpCallback: ::windows_sys::core::IUnknown, + pub nPropertyPages: u32, + pub lphPropertyPages: *mut super::HPROPSHEETPAGE, + pub nStartPage: u32, + pub dwResultAction: u32, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGEXW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGEXW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGEXW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub Flags2: u32, + pub ExclusionFlags: u32, + pub nPageRanges: u32, + pub nMaxPageRanges: u32, + pub lpPageRanges: *mut PRINTPAGERANGE, + pub nMinPage: u32, + pub nMaxPage: u32, + pub nCopies: u32, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lpPrintTemplateName: ::windows_sys::core::PCWSTR, + pub lpCallback: ::windows_sys::core::IUnknown, + pub nPropertyPages: u32, + pub lphPropertyPages: *mut super::HPROPSHEETPAGE, + pub nStartPage: u32, + pub dwResultAction: u32, +} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGEXW {} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGEXW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub nFromPage: u16, + pub nToPage: u16, + pub nMinPage: u16, + pub nMaxPage: u16, + pub nCopies: u16, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPrintHook: LPPRINTHOOKPROC, + pub lpfnSetupHook: LPSETUPHOOKPROC, + pub lpPrintTemplateName: ::windows_sys::core::PCWSTR, + pub lpSetupTemplateName: ::windows_sys::core::PCWSTR, + pub hPrintTemplate: super::super::super::Foundation::HGLOBAL, + pub hSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct PRINTDLGW { + pub lStructSize: u32, + pub hwndOwner: super::super::super::Foundation::HWND, + pub hDevMode: super::super::super::Foundation::HGLOBAL, + pub hDevNames: super::super::super::Foundation::HGLOBAL, + pub hDC: super::super::super::Graphics::Gdi::HDC, + pub Flags: PRINTDLGEX_FLAGS, + pub nFromPage: u16, + pub nToPage: u16, + pub nMinPage: u16, + pub nMaxPage: u16, + pub nCopies: u16, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub lCustData: super::super::super::Foundation::LPARAM, + pub lpfnPrintHook: LPPRINTHOOKPROC, + pub lpfnSetupHook: LPSETUPHOOKPROC, + pub lpPrintTemplateName: ::windows_sys::core::PCWSTR, + pub lpSetupTemplateName: ::windows_sys::core::PCWSTR, + pub hPrintTemplate: super::super::super::Foundation::HGLOBAL, + pub hSetupTemplate: super::super::super::Foundation::HGLOBAL, +} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for PRINTDLGW {} +#[cfg(target_arch = "x86")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for PRINTDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +pub struct PRINTPAGERANGE { + pub nFromPage: u32, + pub nToPage: u32, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::marker::Copy for PRINTPAGERANGE {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::clone::Clone for PRINTPAGERANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[cfg(target_arch = "x86")] +pub struct PRINTPAGERANGE { + pub nFromPage: u32, + pub nToPage: u32, +} +#[cfg(target_arch = "x86")] +impl ::core::marker::Copy for PRINTPAGERANGE {} +#[cfg(target_arch = "x86")] +impl ::core::clone::Clone for PRINTPAGERANGE { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPCCHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPCFHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPFRHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPOFNHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPPAGEPAINTHOOK = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPPAGESETUPHOOK = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPPRINTHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPSETUPHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>; |