ReactOS 0.4.16-dev-306-g647d351
commdlg.h File Reference

Go to the source code of this file.

Classes

struct  tagCHOOSECOLORA
 
struct  tagCHOOSECOLORW
 
struct  tagCHOOSEFONTA
 
struct  tagCHOOSEFONTW
 
struct  tagDEVNAMES
 
struct  FINDREPLACEA
 
struct  FINDREPLACEW
 
struct  tagOFNA
 
struct  tagOFNW
 
struct  _OFNOTIFYA
 
struct  _OFNOTIFYW
 
struct  _OFNOTIFYEXA
 
struct  _OFNOTIFYEXW
 
struct  tagPSDA
 
struct  tagPSDW
 
struct  tagPDA
 
struct  tagPDW
 

Macros

#define SAVE_DIALOG   1
 
#define OPEN_DIALOG   2
 
#define LBSELCHSTRINGA   "commdlg_LBSelChangedNotify"
 
#define SHAREVISTRINGA   "commdlg_ShareViolation"
 
#define FILEOKSTRINGA   "commdlg_FileNameOK"
 
#define COLOROKSTRINGA   "commdlg_ColorOK"
 
#define SETRGBSTRINGA   "commdlg_SetRGBColor"
 
#define HELPMSGSTRINGA   "commdlg_help"
 
#define FINDMSGSTRINGA   "commdlg_FindReplace"
 
#define LBSELCHSTRINGW   L"commdlg_LBSelChangedNotify"
 
#define SHAREVISTRINGW   L"commdlg_ShareViolation"
 
#define FILEOKSTRINGW   L"commdlg_FileNameOK"
 
#define COLOROKSTRINGW   L"commdlg_ColorOK"
 
#define SETRGBSTRINGW   L"commdlg_SetRGBColor"
 
#define HELPMSGSTRINGW   L"commdlg_help"
 
#define FINDMSGSTRINGW   L"commdlg_FindReplace"
 
#define CDN_FIRST   ((UINT)-601) /* also in commctrl.h */
 
#define CDN_LAST   ((UINT)-699)
 
#define CDN_INITDONE   CDN_FIRST
 
#define CDN_SELCHANGE   (CDN_FIRST-1U)
 
#define CDN_FOLDERCHANGE   (CDN_FIRST-2U)
 
#define CDN_SHAREVIOLATION   (CDN_FIRST-3U)
 
#define CDN_HELP   (CDN_FIRST-4U)
 
#define CDN_FILEOK   (CDN_FIRST-5U)
 
#define CDN_TYPECHANGE   (CDN_FIRST-6U)
 
#define CDN_INCLUDEITEM   (CDN_FIRST-7U)
 
#define CDM_FIRST   (WM_USER+100)
 
#define CDM_LAST   (WM_USER+200)
 
#define CDM_GETSPEC   CDM_FIRST
 
#define CDM_GETFILEPATH   (CDM_FIRST+1)
 
#define CDM_GETFOLDERPATH   (CDM_FIRST+2)
 
#define CDM_GETFOLDERIDLIST   (CDM_FIRST+3)
 
#define CDM_SETCONTROLTEXT   (CDM_FIRST+4)
 
#define CDM_HIDECONTROL   (CDM_FIRST+5)
 
#define CDM_SETDEFEXT   (CDM_FIRST+6)
 
#define CC_RGBINIT   1
 
#define CC_FULLOPEN   2
 
#define CC_PREVENTFULLOPEN   4
 
#define CC_SHOWHELP   8
 
#define CC_ENABLEHOOK   16
 
#define CC_ENABLETEMPLATE   32
 
#define CC_ENABLETEMPLATEHANDLE   64
 
#define CC_SOLIDCOLOR   128
 
#define CC_ANYCOLOR   256
 
#define CF_SCREENFONTS   1
 
#define CF_PRINTERFONTS   2
 
#define CF_BOTH   3
 
#define CF_SHOWHELP   4
 
#define CF_ENABLEHOOK   8
 
#define CF_ENABLETEMPLATE   16
 
#define CF_ENABLETEMPLATEHANDLE   32
 
#define CF_INITTOLOGFONTSTRUCT   64
 
#define CF_USESTYLE   128
 
#define CF_EFFECTS   256
 
#define CF_APPLY   512
 
#define CF_ANSIONLY   1024
 
#define CF_SCRIPTSONLY   CF_ANSIONLY
 
#define CF_NOVECTORFONTS   2048
 
#define CF_NOOEMFONTS   2048
 
#define CF_NOSIMULATIONS   4096
 
#define CF_LIMITSIZE   8192
 
#define CF_FIXEDPITCHONLY   16384
 
#define CF_WYSIWYG   32768
 
#define CF_FORCEFONTEXIST   65536
 
#define CF_SCALABLEONLY   131072
 
#define CF_TTONLY   262144
 
#define CF_NOFACESEL   524288
 
#define CF_NOSTYLESEL   1048576
 
#define CF_NOSIZESEL   2097152
 
#define CF_SELECTSCRIPT   4194304
 
#define CF_NOSCRIPTSEL   8388608
 
#define CF_NOVERTFONTS   0x1000000
 
#define SIMULATED_FONTTYPE   0x8000
 
#define PRINTER_FONTTYPE   0x4000
 
#define SCREEN_FONTTYPE   0x2000
 
#define BOLD_FONTTYPE   0x100
 
#define ITALIC_FONTTYPE   0x0200
 
#define REGULAR_FONTTYPE   0x0400
 
#define WM_CHOOSEFONT_GETLOGFONT   (WM_USER+1)
 
#define WM_CHOOSEFONT_SETLOGFONT   (WM_USER+101)
 
#define WM_CHOOSEFONT_SETFLAGS   (WM_USER+102)
 
#define OFN_ALLOWMULTISELECT   512
 
#define OFN_CREATEPROMPT   0x2000
 
#define OFN_DONTADDTORECENT   0x2000000
 
#define OFN_ENABLEHOOK   32
 
#define OFN_ENABLEINCLUDENOTIFY   0x400000
 
#define OFN_ENABLESIZING   0x800000
 
#define OFN_ENABLETEMPLATE   64
 
#define OFN_ENABLETEMPLATEHANDLE   128
 
#define OFN_EXPLORER   0x80000
 
#define OFN_EXTENSIONDIFFERENT   0x400
 
#define OFN_FILEMUSTEXIST   0x1000
 
#define OFN_HIDEREADONLY   4
 
#define OFN_LONGNAMES   0x200000
 
#define OFN_NOCHANGEDIR   8
 
#define OFN_NODEREFERENCELINKS   0x100000
 
#define OFN_NOLONGNAMES   0x40000
 
#define OFN_NONETWORKBUTTON   0x20000
 
#define OFN_NOREADONLYRETURN   0x8000
 
#define OFN_NOTESTFILECREATE   0x10000
 
#define OFN_NOVALIDATE   256
 
#define OFN_OVERWRITEPROMPT   2
 
#define OFN_PATHMUSTEXIST   0x800
 
#define OFN_READONLY   1
 
#define OFN_SHAREAWARE   0x4000
 
#define OFN_SHOWHELP   16
 
#define OFN_EX_NOPLACESBAR   0x00000001
 
#define OFN_SHAREFALLTHROUGH   2
 
#define OFN_SHARENOWARN   1
 
#define OFN_SHAREWARN   0
 
#define OFN_NODEREFERENCELINKS   0x100000
 
#define FR_DIALOGTERM   64
 
#define FR_DOWN   1
 
#define FR_ENABLEHOOK   256
 
#define FR_ENABLETEMPLATE   512
 
#define FR_ENABLETEMPLATEHANDLE   0x2000
 
#define FR_FINDNEXT   8
 
#define FR_HIDEUPDOWN   0x4000
 
#define FR_HIDEMATCHCASE   0x8000
 
#define FR_HIDEWHOLEWORD   0x10000
 
#define FR_MATCHALEFHAMZA   0x80000000
 
#define FR_MATCHCASE   4
 
#define FR_MATCHDIAC   0x20000000
 
#define FR_MATCHKASHIDA   0x40000000
 
#define FR_NOMATCHCASE   0x800
 
#define FR_NOUPDOWN   0x400
 
#define FR_NOWHOLEWORD   4096
 
#define FR_REPLACE   16
 
#define FR_REPLACEALL   32
 
#define FR_SHOWHELP   128
 
#define FR_WHOLEWORD   2
 
#define PD_ALLPAGES   0
 
#define PD_SELECTION   1
 
#define PD_PAGENUMS   2
 
#define PD_NOSELECTION   4
 
#define PD_NOPAGENUMS   8
 
#define PD_COLLATE   16
 
#define PD_PRINTTOFILE   32
 
#define PD_PRINTSETUP   64
 
#define PD_NOWARNING   128
 
#define PD_RETURNDC   256
 
#define PD_RETURNIC   512
 
#define PD_RETURNDEFAULT   1024
 
#define PD_SHOWHELP   2048
 
#define PD_ENABLEPRINTHOOK   4096
 
#define PD_ENABLESETUPHOOK   8192
 
#define PD_ENABLEPRINTTEMPLATE   16384
 
#define PD_ENABLESETUPTEMPLATE   32768
 
#define PD_ENABLEPRINTTEMPLATEHANDLE   65536
 
#define PD_ENABLESETUPTEMPLATEHANDLE   0x20000
 
#define PD_USEDEVMODECOPIES   0x40000
 
#define PD_USEDEVMODECOPIESANDCOLLATE   0x40000
 
#define PD_DISABLEPRINTTOFILE   0x80000
 
#define PD_HIDEPRINTTOFILE   0x100000
 
#define PD_NONETWORKBUTTON   0x200000
 
#define PSD_DEFAULTMINMARGINS   0
 
#define PSD_INWININIINTLMEASURE   0
 
#define PSD_MINMARGINS   1
 
#define PSD_MARGINS   2
 
#define PSD_INTHOUSANDTHSOFINCHES   4
 
#define PSD_INHUNDREDTHSOFMILLIMETERS   8
 
#define PSD_DISABLEMARGINS   16
 
#define PSD_DISABLEPRINTER   32
 
#define PSD_NOWARNING   128
 
#define PSD_DISABLEORIENTATION   256
 
#define PSD_DISABLEPAPER   512
 
#define PSD_RETURNDEFAULT   1024
 
#define PSD_SHOWHELP   2048
 
#define PSD_ENABLEPAGESETUPHOOK   8192
 
#define PSD_ENABLEPAGESETUPTEMPLATE   0x8000
 
#define PSD_ENABLEPAGESETUPTEMPLATEHANDLE   0x20000
 
#define PSD_ENABLEPAGEPAINTHOOK   0x40000
 
#define PSD_DISABLEPAGEPAINTING   0x80000
 
#define WM_PSD_PAGESETUPDLG   WM_USER
 
#define WM_PSD_FULLPAGERECT   (WM_USER+1)
 
#define WM_PSD_MINMARGINRECT   (WM_USER+2)
 
#define WM_PSD_MARGINRECT   (WM_USER+3)
 
#define WM_PSD_GREEKTEXTRECT   (WM_USER+4)
 
#define WM_PSD_ENVSTAMPRECT   (WM_USER+5)
 
#define WM_PSD_YAFULLPAGERECT   (WM_USER+6)
 
#define CD_LBSELNOITEMS   (-1)
 
#define CD_LBSELCHANGE   0
 
#define CD_LBSELSUB   1
 
#define CD_LBSELADD   2
 
#define DN_DEFAULTPRN   1
 
#define PD_RESULT_CANCEL   0
 
#define PD_RESULT_PRINT   1
 
#define PD_RESULT_APPLY   2
 
#define START_PAGE_GENERAL   0xffffffff
 
#define SNDMSG   SendMessage
 
#define CommDlg_OpenSave_GetSpec(d, s, m)   ((int)SNDMSG((d),CDM_GETSPEC,(m),(LPARAM)(s)))
 
#define CommDlg_OpenSave_GetSpecA   CommDlg_OpenSave_GetSpec
 
#define CommDlg_OpenSave_GetSpecW   CommDlg_OpenSave_GetSpec
 
#define CommDlg_OpenSave_GetFilePath(d, s, m)   ((int)SNDMSG((d),CDM_GETFILEPATH,(m),(LPARAM)(s)))
 
#define CommDlg_OpenSave_GetFilePathA   CommDlg_OpenSave_GetFilePath
 
#define CommDlg_OpenSave_GetFilePathW   CommDlg_OpenSave_GetFilePath
 
#define CommDlg_OpenSave_GetFolderPath(d, s, m)   ((int)SNDMSG((d),CDM_GETFOLDERPATH,(m),(LPARAM)(LPSTR)(s)))
 
#define CommDlg_OpenSave_GetFolderPathA   CommDlg_OpenSave_GetFolderPath
 
#define CommDlg_OpenSave_GetFolderPathW   CommDlg_OpenSave_GetFolderPath
 
#define CommDlg_OpenSave_GetFolderIDList(d, i, m)   ((int)SNDMSG((d),CDM_GETFOLDERIDLIST,(m),(LPARAM)(i)))
 
#define CommDlg_OpenSave_SetControlText(d, i, t)   ((void)SNDMSG((d),CDM_SETCONTROLTEXT,(i),(LPARAM)(t)))
 
#define CommDlg_OpenSave_HideControl(d, i)   ((void)SNDMSG((d),CDM_HIDECONTROL,(i),0))
 
#define CommDlg_OpenSave_SetDefExt(d, e)   ((void)SNDMSG((d),CDM_SETDEFEXT,0,(LPARAM)(e)))
 
#define CDSIZEOF_STRUCT(type, field)   ((INT_PTR)&(((type *)0)->field) + sizeof(((type*)0)->field))
 
#define OPENFILENAME_SIZE_VERSION_400A   CDSIZEOF_STRUCT(OPENFILENAMEA,lpTemplateName)
 
#define OPENFILENAME_SIZE_VERSION_400W   CDSIZEOF_STRUCT(OPENFILENAMEW,lpTemplateName)
 
#define OPENFILENAME_SIZE_VERSION_400   OPENFILENAME_SIZE_VERSION_400A
 
#define LBSELCHSTRING   LBSELCHSTRINGA
 
#define SHAREVISTRING   SHAREVISTRINGA
 
#define FILEOKSTRING   FILEOKSTRINGA
 
#define COLOROKSTRING   COLOROKSTRINGA
 
#define SETRGBSTRING   SETRGBSTRINGA
 
#define HELPMSGSTRING   HELPMSGSTRINGA
 
#define FINDMSGSTRING   FINDMSGSTRINGA
 
#define ChooseColor   ChooseColorA
 
#define ChooseFont   ChooseFontA
 
#define FindText   FindTextA
 
#define GetFileTitle   GetFileTitleA
 
#define GetOpenFileName   GetOpenFileNameA
 
#define GetSaveFileName   GetSaveFileNameA
 
#define PageSetupDlg   PageSetupDlgA
 
#define PrintDlg   PrintDlgA
 
#define ReplaceText   ReplaceTextA
 

Typedefs

typedef UINT_PTR(CALLBACK__CDHOOKPROC) (HWND, UINT, WPARAM, LPARAM)
 
typedef __CDHOOKPROC LPCCHOOKPROC
 
typedef __CDHOOKPROC LPCFHOOKPROC
 
typedef __CDHOOKPROC LPFRHOOKPROC
 
typedef __CDHOOKPROC LPOFNHOOKPROC
 
typedef __CDHOOKPROC LPPAGEPAINTHOOK
 
typedef __CDHOOKPROC LPPAGESETUPHOOK
 
typedef __CDHOOKPROC LPSETUPHOOKPROC
 
typedef __CDHOOKPROC LPPRINTHOOKPROC
 
typedef struct tagCHOOSECOLORA CHOOSECOLORA
 
typedef struct tagCHOOSECOLORALPCHOOSECOLORA
 
typedef struct tagCHOOSECOLORW CHOOSECOLORW
 
typedef struct tagCHOOSECOLORWLPCHOOSECOLORW
 
typedef struct tagCHOOSEFONTA CHOOSEFONTA
 
typedef struct tagCHOOSEFONTALPCHOOSEFONTA
 
typedef struct tagCHOOSEFONTW CHOOSEFONTW
 
typedef struct tagCHOOSEFONTWLPCHOOSEFONTW
 
typedef struct tagDEVNAMES DEVNAMES
 
typedef struct tagDEVNAMESLPDEVNAMES
 
typedef struct FINDREPLACEALPFINDREPLACEA
 
typedef struct FINDREPLACEWLPFINDREPLACEW
 
typedef struct tagOFNA OPENFILENAMEA
 
typedef struct tagOFNALPOPENFILENAMEA
 
typedef struct tagOFNW OPENFILENAMEW
 
typedef struct tagOFNWLPOPENFILENAMEW
 
typedef struct _OFNOTIFYA OFNOTIFYA
 
typedef struct _OFNOTIFYALPOFNOTIFYA
 
typedef struct _OFNOTIFYW OFNOTIFYW
 
typedef struct _OFNOTIFYWLPOFNOTIFYW
 
typedef struct _OFNOTIFYEXA OFNOTIFYEXA
 
typedef struct _OFNOTIFYEXALPOFNOTIFYEXA
 
typedef struct _OFNOTIFYEXW OFNOTIFYEXW
 
typedef struct _OFNOTIFYEXWLPOFNOTIFYEXW
 
typedef struct tagPSDA PAGESETUPDLGA
 
typedef struct tagPSDALPPAGESETUPDLGA
 
typedef struct tagPSDW PAGESETUPDLGW
 
typedef struct tagPSDWLPPAGESETUPDLGW
 
typedef struct tagPDA PRINTDLGA
 
typedef struct tagPDALPPRINTDLGA
 
typedef struct tagPDW PRINTDLGW
 
typedef struct tagPDWLPPRINTDLGW
 
typedef CHOOSECOLORA CHOOSECOLOR
 
typedef CHOOSECOLORALPCHOOSECOLOR
 
typedef CHOOSEFONTA CHOOSEFONT
 
typedef CHOOSEFONTALPCHOOSEFONT
 
typedef FINDREPLACEA FINDREPLACE
 
typedef FINDREPLACEALPFINDREPLACE
 
typedef OPENFILENAMEA OPENFILENAME
 
typedef OPENFILENAMEALPOPENFILENAME
 
typedef OFNOTIFYA OFNOTIFY
 
typedef OFNOTIFYALPOFNOTIFY
 
typedef PAGESETUPDLGA PAGESETUPDLG
 
typedef PAGESETUPDLGALPPAGESETUPDLG
 
typedef PRINTDLGA PRINTDLG
 
typedef PRINTDLGALPPRINTDLG
 

Functions

BOOL WINAPI ChooseColorA (LPCHOOSECOLORA)
 
BOOL WINAPI ChooseColorW (LPCHOOSECOLORW)
 
BOOL WINAPI ChooseFontA (LPCHOOSEFONTA)
 
BOOL WINAPI ChooseFontW (LPCHOOSEFONTW)
 
DWORD WINAPI CommDlgExtendedError (void)
 
HWND WINAPI FindTextA (LPFINDREPLACEA)
 
HWND WINAPI FindTextW (LPFINDREPLACEW)
 
short WINAPI GetFileTitleA (LPCSTR, LPSTR, WORD)
 
short WINAPI GetFileTitleW (LPCWSTR, LPWSTR, WORD)
 
BOOL WINAPI GetOpenFileNameA (LPOPENFILENAMEA)
 
BOOL WINAPI GetOpenFileNameW (LPOPENFILENAMEW)
 
BOOL WINAPI GetSaveFileNameA (LPOPENFILENAMEA)
 
BOOL WINAPI GetSaveFileNameW (LPOPENFILENAMEW)
 
BOOL WINAPI PageSetupDlgA (LPPAGESETUPDLGA)
 
BOOL WINAPI PageSetupDlgW (LPPAGESETUPDLGW)
 
BOOL WINAPI PrintDlgA (LPPRINTDLGA)
 
BOOL WINAPI PrintDlgW (LPPRINTDLGW)
 
HWND WINAPI ReplaceTextA (LPFINDREPLACEA)
 
HWND WINAPI ReplaceTextW (LPFINDREPLACEW)
 

Macro Definition Documentation

◆ BOLD_FONTTYPE

#define BOLD_FONTTYPE   0x100

Definition at line 90 of file commdlg.h.

◆ CC_ANYCOLOR

#define CC_ANYCOLOR   256

Definition at line 58 of file commdlg.h.

◆ CC_ENABLEHOOK

#define CC_ENABLEHOOK   16

Definition at line 54 of file commdlg.h.

◆ CC_ENABLETEMPLATE

#define CC_ENABLETEMPLATE   32

Definition at line 55 of file commdlg.h.

◆ CC_ENABLETEMPLATEHANDLE

#define CC_ENABLETEMPLATEHANDLE   64

Definition at line 56 of file commdlg.h.

◆ CC_FULLOPEN

#define CC_FULLOPEN   2

Definition at line 51 of file commdlg.h.

◆ CC_PREVENTFULLOPEN

#define CC_PREVENTFULLOPEN   4

Definition at line 52 of file commdlg.h.

◆ CC_RGBINIT

#define CC_RGBINIT   1

Definition at line 50 of file commdlg.h.

◆ CC_SHOWHELP

#define CC_SHOWHELP   8

Definition at line 53 of file commdlg.h.

◆ CC_SOLIDCOLOR

#define CC_SOLIDCOLOR   128

Definition at line 57 of file commdlg.h.

◆ CD_LBSELADD

#define CD_LBSELADD   2

Definition at line 198 of file commdlg.h.

◆ CD_LBSELCHANGE

#define CD_LBSELCHANGE   0

Definition at line 196 of file commdlg.h.

◆ CD_LBSELNOITEMS

#define CD_LBSELNOITEMS   (-1)

Definition at line 195 of file commdlg.h.

◆ CD_LBSELSUB

#define CD_LBSELSUB   1

Definition at line 197 of file commdlg.h.

◆ CDM_FIRST

#define CDM_FIRST   (WM_USER+100)

Definition at line 41 of file commdlg.h.

◆ CDM_GETFILEPATH

#define CDM_GETFILEPATH   (CDM_FIRST+1)

Definition at line 44 of file commdlg.h.

◆ CDM_GETFOLDERIDLIST

#define CDM_GETFOLDERIDLIST   (CDM_FIRST+3)

Definition at line 46 of file commdlg.h.

◆ CDM_GETFOLDERPATH

#define CDM_GETFOLDERPATH   (CDM_FIRST+2)

Definition at line 45 of file commdlg.h.

◆ CDM_GETSPEC

#define CDM_GETSPEC   CDM_FIRST

Definition at line 43 of file commdlg.h.

◆ CDM_HIDECONTROL

#define CDM_HIDECONTROL   (CDM_FIRST+5)

Definition at line 48 of file commdlg.h.

◆ CDM_LAST

#define CDM_LAST   (WM_USER+200)

Definition at line 42 of file commdlg.h.

◆ CDM_SETCONTROLTEXT

#define CDM_SETCONTROLTEXT   (CDM_FIRST+4)

Definition at line 47 of file commdlg.h.

◆ CDM_SETDEFEXT

#define CDM_SETDEFEXT   (CDM_FIRST+6)

Definition at line 49 of file commdlg.h.

◆ CDN_FILEOK

#define CDN_FILEOK   (CDN_FIRST-5U)

Definition at line 38 of file commdlg.h.

◆ CDN_FIRST

#define CDN_FIRST   ((UINT)-601) /* also in commctrl.h */

Definition at line 30 of file commdlg.h.

◆ CDN_FOLDERCHANGE

#define CDN_FOLDERCHANGE   (CDN_FIRST-2U)

Definition at line 35 of file commdlg.h.

◆ CDN_HELP

#define CDN_HELP   (CDN_FIRST-4U)

Definition at line 37 of file commdlg.h.

◆ CDN_INCLUDEITEM

#define CDN_INCLUDEITEM   (CDN_FIRST-7U)

Definition at line 40 of file commdlg.h.

◆ CDN_INITDONE

#define CDN_INITDONE   CDN_FIRST

Definition at line 33 of file commdlg.h.

◆ CDN_LAST

#define CDN_LAST   ((UINT)-699)

Definition at line 31 of file commdlg.h.

◆ CDN_SELCHANGE

#define CDN_SELCHANGE   (CDN_FIRST-1U)

Definition at line 34 of file commdlg.h.

◆ CDN_SHAREVIOLATION

#define CDN_SHAREVIOLATION   (CDN_FIRST-3U)

Definition at line 36 of file commdlg.h.

◆ CDN_TYPECHANGE

#define CDN_TYPECHANGE   (CDN_FIRST-6U)

Definition at line 39 of file commdlg.h.

◆ CDSIZEOF_STRUCT

#define CDSIZEOF_STRUCT (   type,
  field 
)    ((INT_PTR)&(((type *)0)->field) + sizeof(((type*)0)->field))

Definition at line 393 of file commdlg.h.

◆ CF_ANSIONLY

#define CF_ANSIONLY   1024

Definition at line 70 of file commdlg.h.

◆ CF_APPLY

#define CF_APPLY   512

Definition at line 69 of file commdlg.h.

◆ CF_BOTH

#define CF_BOTH   3

Definition at line 61 of file commdlg.h.

◆ CF_EFFECTS

#define CF_EFFECTS   256

Definition at line 68 of file commdlg.h.

◆ CF_ENABLEHOOK

#define CF_ENABLEHOOK   8

Definition at line 63 of file commdlg.h.

◆ CF_ENABLETEMPLATE

#define CF_ENABLETEMPLATE   16

Definition at line 64 of file commdlg.h.

◆ CF_ENABLETEMPLATEHANDLE

#define CF_ENABLETEMPLATEHANDLE   32

Definition at line 65 of file commdlg.h.

◆ CF_FIXEDPITCHONLY

#define CF_FIXEDPITCHONLY   16384

Definition at line 76 of file commdlg.h.

◆ CF_FORCEFONTEXIST

#define CF_FORCEFONTEXIST   65536

Definition at line 78 of file commdlg.h.

◆ CF_INITTOLOGFONTSTRUCT

#define CF_INITTOLOGFONTSTRUCT   64

Definition at line 66 of file commdlg.h.

◆ CF_LIMITSIZE

#define CF_LIMITSIZE   8192

Definition at line 75 of file commdlg.h.

◆ CF_NOFACESEL

#define CF_NOFACESEL   524288

Definition at line 81 of file commdlg.h.

◆ CF_NOOEMFONTS

#define CF_NOOEMFONTS   2048

Definition at line 73 of file commdlg.h.

◆ CF_NOSCRIPTSEL

#define CF_NOSCRIPTSEL   8388608

Definition at line 85 of file commdlg.h.

◆ CF_NOSIMULATIONS

#define CF_NOSIMULATIONS   4096

Definition at line 74 of file commdlg.h.

◆ CF_NOSIZESEL

#define CF_NOSIZESEL   2097152

Definition at line 83 of file commdlg.h.

◆ CF_NOSTYLESEL

#define CF_NOSTYLESEL   1048576

Definition at line 82 of file commdlg.h.

◆ CF_NOVECTORFONTS

#define CF_NOVECTORFONTS   2048

Definition at line 72 of file commdlg.h.

◆ CF_NOVERTFONTS

#define CF_NOVERTFONTS   0x1000000

Definition at line 86 of file commdlg.h.

◆ CF_PRINTERFONTS

#define CF_PRINTERFONTS   2

Definition at line 60 of file commdlg.h.

◆ CF_SCALABLEONLY

#define CF_SCALABLEONLY   131072

Definition at line 79 of file commdlg.h.

◆ CF_SCREENFONTS

#define CF_SCREENFONTS   1

Definition at line 59 of file commdlg.h.

◆ CF_SCRIPTSONLY

#define CF_SCRIPTSONLY   CF_ANSIONLY

Definition at line 71 of file commdlg.h.

◆ CF_SELECTSCRIPT

#define CF_SELECTSCRIPT   4194304

Definition at line 84 of file commdlg.h.

◆ CF_SHOWHELP

#define CF_SHOWHELP   4

Definition at line 62 of file commdlg.h.

◆ CF_TTONLY

#define CF_TTONLY   262144

Definition at line 80 of file commdlg.h.

◆ CF_USESTYLE

#define CF_USESTYLE   128

Definition at line 67 of file commdlg.h.

◆ CF_WYSIWYG

#define CF_WYSIWYG   32768

Definition at line 77 of file commdlg.h.

◆ ChooseColor

#define ChooseColor   ChooseColorA

Definition at line 661 of file commdlg.h.

◆ ChooseFont

#define ChooseFont   ChooseFontA

Definition at line 662 of file commdlg.h.

◆ COLOROKSTRING

#define COLOROKSTRING   COLOROKSTRINGA

Definition at line 650 of file commdlg.h.

◆ COLOROKSTRINGA

#define COLOROKSTRINGA   "commdlg_ColorOK"

Definition at line 18 of file commdlg.h.

◆ COLOROKSTRINGW

#define COLOROKSTRINGW   L"commdlg_ColorOK"

Definition at line 25 of file commdlg.h.

◆ CommDlg_OpenSave_GetFilePath

#define CommDlg_OpenSave_GetFilePath (   d,
  s,
  m 
)    ((int)SNDMSG((d),CDM_GETFILEPATH,(m),(LPARAM)(s)))

Definition at line 218 of file commdlg.h.

◆ CommDlg_OpenSave_GetFilePathA

#define CommDlg_OpenSave_GetFilePathA   CommDlg_OpenSave_GetFilePath

Definition at line 219 of file commdlg.h.

◆ CommDlg_OpenSave_GetFilePathW

#define CommDlg_OpenSave_GetFilePathW   CommDlg_OpenSave_GetFilePath

Definition at line 220 of file commdlg.h.

◆ CommDlg_OpenSave_GetFolderIDList

#define CommDlg_OpenSave_GetFolderIDList (   d,
  i,
  m 
)    ((int)SNDMSG((d),CDM_GETFOLDERIDLIST,(m),(LPARAM)(i)))

Definition at line 224 of file commdlg.h.

◆ CommDlg_OpenSave_GetFolderPath

#define CommDlg_OpenSave_GetFolderPath (   d,
  s,
  m 
)    ((int)SNDMSG((d),CDM_GETFOLDERPATH,(m),(LPARAM)(LPSTR)(s)))

Definition at line 221 of file commdlg.h.

◆ CommDlg_OpenSave_GetFolderPathA

#define CommDlg_OpenSave_GetFolderPathA   CommDlg_OpenSave_GetFolderPath

Definition at line 222 of file commdlg.h.

◆ CommDlg_OpenSave_GetFolderPathW

#define CommDlg_OpenSave_GetFolderPathW   CommDlg_OpenSave_GetFolderPath

Definition at line 223 of file commdlg.h.

◆ CommDlg_OpenSave_GetSpec

#define CommDlg_OpenSave_GetSpec (   d,
  s,
  m 
)    ((int)SNDMSG((d),CDM_GETSPEC,(m),(LPARAM)(s)))

Definition at line 215 of file commdlg.h.

◆ CommDlg_OpenSave_GetSpecA

#define CommDlg_OpenSave_GetSpecA   CommDlg_OpenSave_GetSpec

Definition at line 216 of file commdlg.h.

◆ CommDlg_OpenSave_GetSpecW

#define CommDlg_OpenSave_GetSpecW   CommDlg_OpenSave_GetSpec

Definition at line 217 of file commdlg.h.

◆ CommDlg_OpenSave_HideControl

#define CommDlg_OpenSave_HideControl (   d,
  i 
)    ((void)SNDMSG((d),CDM_HIDECONTROL,(i),0))

Definition at line 226 of file commdlg.h.

◆ CommDlg_OpenSave_SetControlText

#define CommDlg_OpenSave_SetControlText (   d,
  i,
  t 
)    ((void)SNDMSG((d),CDM_SETCONTROLTEXT,(i),(LPARAM)(t)))

Definition at line 225 of file commdlg.h.

◆ CommDlg_OpenSave_SetDefExt

#define CommDlg_OpenSave_SetDefExt (   d,
  e 
)    ((void)SNDMSG((d),CDM_SETDEFEXT,0,(LPARAM)(e)))

Definition at line 227 of file commdlg.h.

◆ DN_DEFAULTPRN

#define DN_DEFAULTPRN   1

Definition at line 199 of file commdlg.h.

◆ FILEOKSTRING

#define FILEOKSTRING   FILEOKSTRINGA

Definition at line 649 of file commdlg.h.

◆ FILEOKSTRINGA

#define FILEOKSTRINGA   "commdlg_FileNameOK"

Definition at line 17 of file commdlg.h.

◆ FILEOKSTRINGW

#define FILEOKSTRINGW   L"commdlg_FileNameOK"

Definition at line 24 of file commdlg.h.

◆ FINDMSGSTRING

#define FINDMSGSTRING   FINDMSGSTRINGA

Definition at line 653 of file commdlg.h.

◆ FINDMSGSTRINGA

#define FINDMSGSTRINGA   "commdlg_FindReplace"

Definition at line 21 of file commdlg.h.

◆ FINDMSGSTRINGW

#define FINDMSGSTRINGW   L"commdlg_FindReplace"

Definition at line 28 of file commdlg.h.

◆ FindText

#define FindText   FindTextA

Definition at line 663 of file commdlg.h.

◆ FR_DIALOGTERM

#define FR_DIALOGTERM   64

Definition at line 126 of file commdlg.h.

◆ FR_DOWN

#define FR_DOWN   1

Definition at line 127 of file commdlg.h.

◆ FR_ENABLEHOOK

#define FR_ENABLEHOOK   256

Definition at line 128 of file commdlg.h.

◆ FR_ENABLETEMPLATE

#define FR_ENABLETEMPLATE   512

Definition at line 129 of file commdlg.h.

◆ FR_ENABLETEMPLATEHANDLE

#define FR_ENABLETEMPLATEHANDLE   0x2000

Definition at line 130 of file commdlg.h.

◆ FR_FINDNEXT

#define FR_FINDNEXT   8

Definition at line 131 of file commdlg.h.

◆ FR_HIDEMATCHCASE

#define FR_HIDEMATCHCASE   0x8000

Definition at line 133 of file commdlg.h.

◆ FR_HIDEUPDOWN

#define FR_HIDEUPDOWN   0x4000

Definition at line 132 of file commdlg.h.

◆ FR_HIDEWHOLEWORD

#define FR_HIDEWHOLEWORD   0x10000

Definition at line 134 of file commdlg.h.

◆ FR_MATCHALEFHAMZA

#define FR_MATCHALEFHAMZA   0x80000000

Definition at line 135 of file commdlg.h.

◆ FR_MATCHCASE

#define FR_MATCHCASE   4

Definition at line 136 of file commdlg.h.

◆ FR_MATCHDIAC

#define FR_MATCHDIAC   0x20000000

Definition at line 137 of file commdlg.h.

◆ FR_MATCHKASHIDA

#define FR_MATCHKASHIDA   0x40000000

Definition at line 138 of file commdlg.h.

◆ FR_NOMATCHCASE

#define FR_NOMATCHCASE   0x800

Definition at line 139 of file commdlg.h.

◆ FR_NOUPDOWN

#define FR_NOUPDOWN   0x400

Definition at line 140 of file commdlg.h.

◆ FR_NOWHOLEWORD

#define FR_NOWHOLEWORD   4096

Definition at line 141 of file commdlg.h.

◆ FR_REPLACE

#define FR_REPLACE   16

Definition at line 142 of file commdlg.h.

◆ FR_REPLACEALL

#define FR_REPLACEALL   32

Definition at line 143 of file commdlg.h.

◆ FR_SHOWHELP

#define FR_SHOWHELP   128

Definition at line 144 of file commdlg.h.

◆ FR_WHOLEWORD

#define FR_WHOLEWORD   2

Definition at line 145 of file commdlg.h.

◆ GetFileTitle

#define GetFileTitle   GetFileTitleA

Definition at line 664 of file commdlg.h.

◆ GetOpenFileName

#define GetOpenFileName   GetOpenFileNameA

Definition at line 665 of file commdlg.h.

◆ GetSaveFileName

#define GetSaveFileName   GetSaveFileNameA

Definition at line 666 of file commdlg.h.

◆ HELPMSGSTRING

#define HELPMSGSTRING   HELPMSGSTRINGA

Definition at line 652 of file commdlg.h.

◆ HELPMSGSTRINGA

#define HELPMSGSTRINGA   "commdlg_help"

Definition at line 20 of file commdlg.h.

◆ HELPMSGSTRINGW

#define HELPMSGSTRINGW   L"commdlg_help"

Definition at line 27 of file commdlg.h.

◆ ITALIC_FONTTYPE

#define ITALIC_FONTTYPE   0x0200

Definition at line 91 of file commdlg.h.

◆ LBSELCHSTRING

#define LBSELCHSTRING   LBSELCHSTRINGA

Definition at line 647 of file commdlg.h.

◆ LBSELCHSTRINGA

#define LBSELCHSTRINGA   "commdlg_LBSelChangedNotify"

Definition at line 15 of file commdlg.h.

◆ LBSELCHSTRINGW

#define LBSELCHSTRINGW   L"commdlg_LBSelChangedNotify"

Definition at line 22 of file commdlg.h.

◆ OFN_ALLOWMULTISELECT

#define OFN_ALLOWMULTISELECT   512

Definition at line 96 of file commdlg.h.

◆ OFN_CREATEPROMPT

#define OFN_CREATEPROMPT   0x2000

Definition at line 97 of file commdlg.h.

◆ OFN_DONTADDTORECENT

#define OFN_DONTADDTORECENT   0x2000000

Definition at line 98 of file commdlg.h.

◆ OFN_ENABLEHOOK

#define OFN_ENABLEHOOK   32

Definition at line 99 of file commdlg.h.

◆ OFN_ENABLEINCLUDENOTIFY

#define OFN_ENABLEINCLUDENOTIFY   0x400000

Definition at line 100 of file commdlg.h.

◆ OFN_ENABLESIZING

#define OFN_ENABLESIZING   0x800000

Definition at line 101 of file commdlg.h.

◆ OFN_ENABLETEMPLATE

#define OFN_ENABLETEMPLATE   64

Definition at line 102 of file commdlg.h.

◆ OFN_ENABLETEMPLATEHANDLE

#define OFN_ENABLETEMPLATEHANDLE   128

Definition at line 103 of file commdlg.h.

◆ OFN_EX_NOPLACESBAR

#define OFN_EX_NOPLACESBAR   0x00000001

Definition at line 121 of file commdlg.h.

◆ OFN_EXPLORER

#define OFN_EXPLORER   0x80000

Definition at line 104 of file commdlg.h.

◆ OFN_EXTENSIONDIFFERENT

#define OFN_EXTENSIONDIFFERENT   0x400

Definition at line 105 of file commdlg.h.

◆ OFN_FILEMUSTEXIST

#define OFN_FILEMUSTEXIST   0x1000

Definition at line 106 of file commdlg.h.

◆ OFN_HIDEREADONLY

#define OFN_HIDEREADONLY   4

Definition at line 107 of file commdlg.h.

◆ OFN_LONGNAMES

#define OFN_LONGNAMES   0x200000

Definition at line 108 of file commdlg.h.

◆ OFN_NOCHANGEDIR

#define OFN_NOCHANGEDIR   8

Definition at line 109 of file commdlg.h.

◆ OFN_NODEREFERENCELINKS [1/2]

#define OFN_NODEREFERENCELINKS   0x100000

Definition at line 125 of file commdlg.h.

◆ OFN_NODEREFERENCELINKS [2/2]

#define OFN_NODEREFERENCELINKS   0x100000

Definition at line 125 of file commdlg.h.

◆ OFN_NOLONGNAMES

#define OFN_NOLONGNAMES   0x40000

Definition at line 111 of file commdlg.h.

◆ OFN_NONETWORKBUTTON

#define OFN_NONETWORKBUTTON   0x20000

Definition at line 112 of file commdlg.h.

◆ OFN_NOREADONLYRETURN

#define OFN_NOREADONLYRETURN   0x8000

Definition at line 113 of file commdlg.h.

◆ OFN_NOTESTFILECREATE

#define OFN_NOTESTFILECREATE   0x10000

Definition at line 114 of file commdlg.h.

◆ OFN_NOVALIDATE

#define OFN_NOVALIDATE   256

Definition at line 115 of file commdlg.h.

◆ OFN_OVERWRITEPROMPT

#define OFN_OVERWRITEPROMPT   2

Definition at line 116 of file commdlg.h.

◆ OFN_PATHMUSTEXIST

#define OFN_PATHMUSTEXIST   0x800

Definition at line 117 of file commdlg.h.

◆ OFN_READONLY

#define OFN_READONLY   1

Definition at line 118 of file commdlg.h.

◆ OFN_SHAREAWARE

#define OFN_SHAREAWARE   0x4000

Definition at line 119 of file commdlg.h.

◆ OFN_SHAREFALLTHROUGH

#define OFN_SHAREFALLTHROUGH   2

Definition at line 122 of file commdlg.h.

◆ OFN_SHARENOWARN

#define OFN_SHARENOWARN   1

Definition at line 123 of file commdlg.h.

◆ OFN_SHAREWARN

#define OFN_SHAREWARN   0

Definition at line 124 of file commdlg.h.

◆ OFN_SHOWHELP

#define OFN_SHOWHELP   16

Definition at line 120 of file commdlg.h.

◆ OPEN_DIALOG

#define OPEN_DIALOG   2

Definition at line 13 of file commdlg.h.

◆ OPENFILENAME_SIZE_VERSION_400

#define OPENFILENAME_SIZE_VERSION_400   OPENFILENAME_SIZE_VERSION_400A

Definition at line 402 of file commdlg.h.

◆ OPENFILENAME_SIZE_VERSION_400A

#define OPENFILENAME_SIZE_VERSION_400A   CDSIZEOF_STRUCT(OPENFILENAMEA,lpTemplateName)

Definition at line 396 of file commdlg.h.

◆ OPENFILENAME_SIZE_VERSION_400W

#define OPENFILENAME_SIZE_VERSION_400W   CDSIZEOF_STRUCT(OPENFILENAMEW,lpTemplateName)

Definition at line 397 of file commdlg.h.

◆ PageSetupDlg

#define PageSetupDlg   PageSetupDlgA

Definition at line 667 of file commdlg.h.

◆ PD_ALLPAGES

#define PD_ALLPAGES   0

Definition at line 146 of file commdlg.h.

◆ PD_COLLATE

#define PD_COLLATE   16

Definition at line 151 of file commdlg.h.

◆ PD_DISABLEPRINTTOFILE

#define PD_DISABLEPRINTTOFILE   0x80000

Definition at line 167 of file commdlg.h.

◆ PD_ENABLEPRINTHOOK

#define PD_ENABLEPRINTHOOK   4096

Definition at line 159 of file commdlg.h.

◆ PD_ENABLEPRINTTEMPLATE

#define PD_ENABLEPRINTTEMPLATE   16384

Definition at line 161 of file commdlg.h.

◆ PD_ENABLEPRINTTEMPLATEHANDLE

#define PD_ENABLEPRINTTEMPLATEHANDLE   65536

Definition at line 163 of file commdlg.h.

◆ PD_ENABLESETUPHOOK

#define PD_ENABLESETUPHOOK   8192

Definition at line 160 of file commdlg.h.

◆ PD_ENABLESETUPTEMPLATE

#define PD_ENABLESETUPTEMPLATE   32768

Definition at line 162 of file commdlg.h.

◆ PD_ENABLESETUPTEMPLATEHANDLE

#define PD_ENABLESETUPTEMPLATEHANDLE   0x20000

Definition at line 164 of file commdlg.h.

◆ PD_HIDEPRINTTOFILE

#define PD_HIDEPRINTTOFILE   0x100000

Definition at line 168 of file commdlg.h.

◆ PD_NONETWORKBUTTON

#define PD_NONETWORKBUTTON   0x200000

Definition at line 169 of file commdlg.h.

◆ PD_NOPAGENUMS

#define PD_NOPAGENUMS   8

Definition at line 150 of file commdlg.h.

◆ PD_NOSELECTION

#define PD_NOSELECTION   4

Definition at line 149 of file commdlg.h.

◆ PD_NOWARNING

#define PD_NOWARNING   128

Definition at line 154 of file commdlg.h.

◆ PD_PAGENUMS

#define PD_PAGENUMS   2

Definition at line 148 of file commdlg.h.

◆ PD_PRINTSETUP

#define PD_PRINTSETUP   64

Definition at line 153 of file commdlg.h.

◆ PD_PRINTTOFILE

#define PD_PRINTTOFILE   32

Definition at line 152 of file commdlg.h.

◆ PD_RESULT_APPLY

#define PD_RESULT_APPLY   2

Definition at line 203 of file commdlg.h.

◆ PD_RESULT_CANCEL

#define PD_RESULT_CANCEL   0

Definition at line 201 of file commdlg.h.

◆ PD_RESULT_PRINT

#define PD_RESULT_PRINT   1

Definition at line 202 of file commdlg.h.

◆ PD_RETURNDC

#define PD_RETURNDC   256

Definition at line 155 of file commdlg.h.

◆ PD_RETURNDEFAULT

#define PD_RETURNDEFAULT   1024

Definition at line 157 of file commdlg.h.

◆ PD_RETURNIC

#define PD_RETURNIC   512

Definition at line 156 of file commdlg.h.

◆ PD_SELECTION

#define PD_SELECTION   1

Definition at line 147 of file commdlg.h.

◆ PD_SHOWHELP

#define PD_SHOWHELP   2048

Definition at line 158 of file commdlg.h.

◆ PD_USEDEVMODECOPIES

#define PD_USEDEVMODECOPIES   0x40000

Definition at line 165 of file commdlg.h.

◆ PD_USEDEVMODECOPIESANDCOLLATE

#define PD_USEDEVMODECOPIESANDCOLLATE   0x40000

Definition at line 166 of file commdlg.h.

◆ PrintDlg

#define PrintDlg   PrintDlgA

Definition at line 668 of file commdlg.h.

◆ PRINTER_FONTTYPE

#define PRINTER_FONTTYPE   0x4000

Definition at line 88 of file commdlg.h.

◆ PSD_DEFAULTMINMARGINS

#define PSD_DEFAULTMINMARGINS   0

Definition at line 170 of file commdlg.h.

◆ PSD_DISABLEMARGINS

#define PSD_DISABLEMARGINS   16

Definition at line 176 of file commdlg.h.

◆ PSD_DISABLEORIENTATION

#define PSD_DISABLEORIENTATION   256

Definition at line 179 of file commdlg.h.

◆ PSD_DISABLEPAGEPAINTING

#define PSD_DISABLEPAGEPAINTING   0x80000

Definition at line 187 of file commdlg.h.

◆ PSD_DISABLEPAPER

#define PSD_DISABLEPAPER   512

Definition at line 180 of file commdlg.h.

◆ PSD_DISABLEPRINTER

#define PSD_DISABLEPRINTER   32

Definition at line 177 of file commdlg.h.

◆ PSD_ENABLEPAGEPAINTHOOK

#define PSD_ENABLEPAGEPAINTHOOK   0x40000

Definition at line 186 of file commdlg.h.

◆ PSD_ENABLEPAGESETUPHOOK

#define PSD_ENABLEPAGESETUPHOOK   8192

Definition at line 183 of file commdlg.h.

◆ PSD_ENABLEPAGESETUPTEMPLATE

#define PSD_ENABLEPAGESETUPTEMPLATE   0x8000

Definition at line 184 of file commdlg.h.

◆ PSD_ENABLEPAGESETUPTEMPLATEHANDLE

#define PSD_ENABLEPAGESETUPTEMPLATEHANDLE   0x20000

Definition at line 185 of file commdlg.h.

◆ PSD_INHUNDREDTHSOFMILLIMETERS

#define PSD_INHUNDREDTHSOFMILLIMETERS   8

Definition at line 175 of file commdlg.h.

◆ PSD_INTHOUSANDTHSOFINCHES

#define PSD_INTHOUSANDTHSOFINCHES   4

Definition at line 174 of file commdlg.h.

◆ PSD_INWININIINTLMEASURE

#define PSD_INWININIINTLMEASURE   0

Definition at line 171 of file commdlg.h.

◆ PSD_MARGINS

#define PSD_MARGINS   2

Definition at line 173 of file commdlg.h.

◆ PSD_MINMARGINS

#define PSD_MINMARGINS   1

Definition at line 172 of file commdlg.h.

◆ PSD_NOWARNING

#define PSD_NOWARNING   128

Definition at line 178 of file commdlg.h.

◆ PSD_RETURNDEFAULT

#define PSD_RETURNDEFAULT   1024

Definition at line 181 of file commdlg.h.

◆ PSD_SHOWHELP

#define PSD_SHOWHELP   2048

Definition at line 182 of file commdlg.h.

◆ REGULAR_FONTTYPE

#define REGULAR_FONTTYPE   0x0400

Definition at line 92 of file commdlg.h.

◆ ReplaceText

#define ReplaceText   ReplaceTextA

Definition at line 669 of file commdlg.h.

◆ SAVE_DIALOG

#define SAVE_DIALOG   1

Definition at line 12 of file commdlg.h.

◆ SCREEN_FONTTYPE

#define SCREEN_FONTTYPE   0x2000

Definition at line 89 of file commdlg.h.

◆ SETRGBSTRING

#define SETRGBSTRING   SETRGBSTRINGA

Definition at line 651 of file commdlg.h.

◆ SETRGBSTRINGA

#define SETRGBSTRINGA   "commdlg_SetRGBColor"

Definition at line 19 of file commdlg.h.

◆ SETRGBSTRINGW

#define SETRGBSTRINGW   L"commdlg_SetRGBColor"

Definition at line 26 of file commdlg.h.

◆ SHAREVISTRING

#define SHAREVISTRING   SHAREVISTRINGA

Definition at line 648 of file commdlg.h.

◆ SHAREVISTRINGA

#define SHAREVISTRINGA   "commdlg_ShareViolation"

Definition at line 16 of file commdlg.h.

◆ SHAREVISTRINGW

#define SHAREVISTRINGW   L"commdlg_ShareViolation"

Definition at line 23 of file commdlg.h.

◆ SIMULATED_FONTTYPE

#define SIMULATED_FONTTYPE   0x8000

Definition at line 87 of file commdlg.h.

◆ SNDMSG

#define SNDMSG   SendMessage

Definition at line 211 of file commdlg.h.

◆ START_PAGE_GENERAL

#define START_PAGE_GENERAL   0xffffffff

Definition at line 205 of file commdlg.h.

◆ WM_CHOOSEFONT_GETLOGFONT

#define WM_CHOOSEFONT_GETLOGFONT   (WM_USER+1)

Definition at line 93 of file commdlg.h.

◆ WM_CHOOSEFONT_SETFLAGS

#define WM_CHOOSEFONT_SETFLAGS   (WM_USER+102)

Definition at line 95 of file commdlg.h.

◆ WM_CHOOSEFONT_SETLOGFONT

#define WM_CHOOSEFONT_SETLOGFONT   (WM_USER+101)

Definition at line 94 of file commdlg.h.

◆ WM_PSD_ENVSTAMPRECT

#define WM_PSD_ENVSTAMPRECT   (WM_USER+5)

Definition at line 193 of file commdlg.h.

◆ WM_PSD_FULLPAGERECT

#define WM_PSD_FULLPAGERECT   (WM_USER+1)

Definition at line 189 of file commdlg.h.

◆ WM_PSD_GREEKTEXTRECT

#define WM_PSD_GREEKTEXTRECT   (WM_USER+4)

Definition at line 192 of file commdlg.h.

◆ WM_PSD_MARGINRECT

#define WM_PSD_MARGINRECT   (WM_USER+3)

Definition at line 191 of file commdlg.h.

◆ WM_PSD_MINMARGINRECT

#define WM_PSD_MINMARGINRECT   (WM_USER+2)

Definition at line 190 of file commdlg.h.

◆ WM_PSD_PAGESETUPDLG

#define WM_PSD_PAGESETUPDLG   WM_USER

Definition at line 188 of file commdlg.h.

◆ WM_PSD_YAFULLPAGERECT

#define WM_PSD_YAFULLPAGERECT   (WM_USER+6)

Definition at line 194 of file commdlg.h.

Typedef Documentation

◆ __CDHOOKPROC

typedef UINT_PTR(CALLBACK * __CDHOOKPROC) (HWND, UINT, WPARAM, LPARAM)

Definition at line 229 of file commdlg.h.

◆ CHOOSECOLOR

Definition at line 654 of file commdlg.h.

◆ CHOOSECOLORA

◆ CHOOSECOLORW

◆ CHOOSEFONT

Definition at line 655 of file commdlg.h.

◆ CHOOSEFONTA

◆ CHOOSEFONTW

◆ DEVNAMES

◆ FINDREPLACE

Definition at line 656 of file commdlg.h.

◆ LPCCHOOKPROC

Definition at line 230 of file commdlg.h.

◆ LPCFHOOKPROC

Definition at line 231 of file commdlg.h.

◆ LPCHOOSECOLOR

Definition at line 654 of file commdlg.h.

◆ LPCHOOSECOLORA

◆ LPCHOOSECOLORW

◆ LPCHOOSEFONT

Definition at line 655 of file commdlg.h.

◆ LPCHOOSEFONTA

◆ LPCHOOSEFONTW

◆ LPDEVNAMES

◆ LPFINDREPLACE

Definition at line 656 of file commdlg.h.

◆ LPFINDREPLACEA

◆ LPFINDREPLACEW

◆ LPFRHOOKPROC

Definition at line 232 of file commdlg.h.

◆ LPOFNHOOKPROC

Definition at line 233 of file commdlg.h.

◆ LPOFNOTIFY

typedef OFNOTIFYA * LPOFNOTIFY

Definition at line 658 of file commdlg.h.

◆ LPOFNOTIFYA

◆ LPOFNOTIFYEXA

◆ LPOFNOTIFYEXW

◆ LPOFNOTIFYW

◆ LPOPENFILENAME

Definition at line 657 of file commdlg.h.

◆ LPOPENFILENAMEA

◆ LPOPENFILENAMEW

◆ LPPAGEPAINTHOOK

Definition at line 234 of file commdlg.h.

◆ LPPAGESETUPDLG

Definition at line 659 of file commdlg.h.

◆ LPPAGESETUPDLGA

◆ LPPAGESETUPDLGW

◆ LPPAGESETUPHOOK

Definition at line 235 of file commdlg.h.

◆ LPPRINTDLG

typedef PRINTDLGA * LPPRINTDLG

Definition at line 660 of file commdlg.h.

◆ LPPRINTDLGA

◆ LPPRINTDLGW

◆ LPPRINTHOOKPROC

Definition at line 237 of file commdlg.h.

◆ LPSETUPHOOKPROC

Definition at line 236 of file commdlg.h.

◆ OFNOTIFY

Definition at line 658 of file commdlg.h.

◆ OFNOTIFYA

◆ OFNOTIFYEXA

◆ OFNOTIFYEXW

◆ OFNOTIFYW

◆ OPENFILENAME

Definition at line 657 of file commdlg.h.

◆ OPENFILENAMEA

◆ OPENFILENAMEW

◆ PAGESETUPDLG

Definition at line 659 of file commdlg.h.

◆ PAGESETUPDLGA

◆ PAGESETUPDLGW

◆ PRINTDLG

Definition at line 660 of file commdlg.h.

◆ PRINTDLGA

◆ PRINTDLGW

Function Documentation

◆ ChooseColorA()

BOOL WINAPI ChooseColorA ( LPCHOOSECOLORA  lpChCol)

Definition at line 1384 of file colordlg.c.

1386{
1387 LPWSTR template_name = NULL;
1388 BOOL ret;
1389
1390 CHOOSECOLORW *lpcc = heap_alloc_zero(sizeof(*lpcc));
1391 lpcc->lStructSize = sizeof(*lpcc);
1392 lpcc->hwndOwner = lpChCol->hwndOwner;
1393 lpcc->hInstance = lpChCol->hInstance;
1394 lpcc->rgbResult = lpChCol->rgbResult;
1395 lpcc->lpCustColors = lpChCol->lpCustColors;
1396 lpcc->Flags = lpChCol->Flags;
1397 lpcc->lCustData = lpChCol->lCustData;
1398 lpcc->lpfnHook = lpChCol->lpfnHook;
1399 if ((lpcc->Flags & CC_ENABLETEMPLATE) && (lpChCol->lpTemplateName)) {
1400 if (!IS_INTRESOURCE(lpChCol->lpTemplateName)) {
1401 INT len = MultiByteToWideChar( CP_ACP, 0, lpChCol->lpTemplateName, -1, NULL, 0);
1402 template_name = heap_alloc( len * sizeof(WCHAR) );
1403 MultiByteToWideChar( CP_ACP, 0, lpChCol->lpTemplateName, -1, template_name, len );
1404 lpcc->lpTemplateName = template_name;
1405 } else {
1406 lpcc->lpTemplateName = (LPCWSTR)lpChCol->lpTemplateName;
1407 }
1408 }
1409
1410 ret = ChooseColorW(lpcc);
1411
1412 if (ret)
1413 lpChCol->rgbResult = lpcc->rgbResult;
1414
1415 heap_free(template_name);
1416 heap_free(lpcc);
1417 return ret;
1418}
static void * heap_alloc(size_t len)
Definition: appwiz.h:66
static BOOL heap_free(void *mem)
Definition: appwiz.h:76
BOOL WINAPI ChooseColorW(CHOOSECOLORW *lpChCol)
Definition: colordlg.c:1323
#define CC_ENABLETEMPLATE
Definition: commdlg.h:55
#define NULL
Definition: types.h:112
#define CP_ACP
Definition: compat.h:109
#define MultiByteToWideChar
Definition: compat.h:110
unsigned int BOOL
Definition: ntddk_ex.h:94
GLenum GLsizei len
Definition: glext.h:6722
HWND hInstance
Definition: commdlg.h:241
COLORREF rgbResult
Definition: commdlg.h:242
HWND hwndOwner
Definition: commdlg.h:240
LPARAM lCustData
Definition: commdlg.h:245
COLORREF * lpCustColors
Definition: commdlg.h:243
LPCCHOOKPROC lpfnHook
Definition: commdlg.h:246
LPCSTR lpTemplateName
Definition: commdlg.h:247
HWND hInstance
Definition: commdlg.h:252
HWND hwndOwner
Definition: commdlg.h:251
LPCCHOOKPROC lpfnHook
Definition: commdlg.h:257
LPARAM lCustData
Definition: commdlg.h:256
COLORREF * lpCustColors
Definition: commdlg.h:254
DWORD lStructSize
Definition: commdlg.h:250
COLORREF rgbResult
Definition: commdlg.h:253
LPCWSTR lpTemplateName
Definition: commdlg.h:258
int32_t INT
Definition: typedefs.h:58
int ret
#define IS_INTRESOURCE(i)
Definition: winuser.h:580
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185

◆ ChooseColorW()

BOOL WINAPI ChooseColorW ( LPCHOOSECOLORW  )

◆ ChooseFontA()

BOOL WINAPI ChooseFontA ( LPCHOOSEFONTA  lpChFont)

Definition at line 238 of file fontdlg.c.

239{
240 LPCVOID template;
241 HRSRC hResInfo;
242 HINSTANCE hDlginst;
243 HGLOBAL hDlgTmpl;
244
245 TRACE("(%p)\n", lpChFont);
246
247 if ( (lpChFont->Flags&CF_ENABLETEMPLATEHANDLE)!=0 )
248 {
249 template=lpChFont->hInstance;
250 } else
251 {
252 if ( (lpChFont->Flags&CF_ENABLETEMPLATE)!=0 )
253 {
254 hDlginst=lpChFont->hInstance;
255 if( !(hResInfo = FindResourceA(hDlginst, lpChFont->lpTemplateName,
256 (LPSTR)RT_DIALOG)))
257 {
259 return FALSE;
260 }
261 } else
262 {
263 hDlginst=COMDLG32_hInstance;
264 if (!(hResInfo = FindResourceW(hDlginst, chooseFontW, (LPWSTR)RT_DIALOG)))
265 {
267 return FALSE;
268 }
269 }
270 if (!(hDlgTmpl = LoadResource(hDlginst, hResInfo )) ||
271 !(template = LockResource( hDlgTmpl )))
272 {
274 return FALSE;
275 }
276 }
277 if (TRACE_ON(commdlg))
278 _dump_cf_flags(lpChFont->Flags);
279 if (lpChFont->Flags & CF_SELECTSCRIPT)
280 FIXME(": unimplemented flag (ignored)\n");
281
283 lpChFont->hwndOwner, FormatCharDlgProcA, (LPARAM)lpChFont );
284}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define CDERR_LOADRESFAILURE
Definition: cderr.h:12
#define CDERR_FINDRESFAILURE
Definition: cderr.h:11
DECLSPEC_HIDDEN HINSTANCE COMDLG32_hInstance
Definition: cdlg32.c:42
void COMDLG32_SetCommDlgExtendedError(DWORD err) DECLSPEC_HIDDEN
Definition: cdlg32.c:128
#define CF_ENABLETEMPLATEHANDLE
Definition: commdlg.h:65
#define CF_SELECTSCRIPT
Definition: commdlg.h:84
#define CF_ENABLETEMPLATE
Definition: commdlg.h:64
#define FALSE
Definition: types.h:117
static const WCHAR chooseFontW[]
Definition: fontdlg.c:53
static INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: fontdlg.c:1204
static void _dump_cf_flags(DWORD cflags)
Definition: fontdlg.c:161
#define TRACE_ON(x)
Definition: compat.h:75
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
Definition: res.c:176
HRSRC WINAPI FindResourceA(HMODULE hModule, LPCSTR name, LPCSTR type)
Definition: res.c:155
LPVOID WINAPI LockResource(HGLOBAL handle)
Definition: res.c:550
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
Definition: res.c:532
#define RT_DIALOG
Definition: pedump.c:367
#define TRACE(s)
Definition: solgame.cpp:4
LPCSTR lpTemplateName
Definition: commdlg.h:270
HINSTANCE hInstance
Definition: commdlg.h:271
HWND hwndOwner
Definition: commdlg.h:262
DWORD Flags
Definition: commdlg.h:266
LONG_PTR LPARAM
Definition: windef.h:208
CONST void * LPCVOID
Definition: windef.h:191
INT_PTR WINAPI DialogBoxIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
char * LPSTR
Definition: xmlstorage.h:182

Referenced by test_ChooseFontA().

◆ ChooseFontW()

BOOL WINAPI ChooseFontW ( LPCHOOSEFONTW  lpChFont)

Definition at line 184 of file fontdlg.c.

185{
186 LPCVOID template;
187 HRSRC hResInfo;
188 HINSTANCE hDlginst;
189 HGLOBAL hDlgTmpl;
190
191 TRACE("(%p)\n", lpChFont);
192
193 if ( (lpChFont->Flags&CF_ENABLETEMPLATEHANDLE)!=0 )
194 {
195 template=lpChFont->hInstance;
196 } else
197 {
198 if ( (lpChFont->Flags&CF_ENABLETEMPLATE)!=0 )
199 {
200 hDlginst=lpChFont->hInstance;
201 if( !(hResInfo = FindResourceW(hDlginst, lpChFont->lpTemplateName,
202 (LPWSTR)RT_DIALOG)))
203 {
205 return FALSE;
206 }
207 } else
208 {
209 hDlginst=COMDLG32_hInstance;
210 if (!(hResInfo = FindResourceW(hDlginst, chooseFontW, (LPWSTR)RT_DIALOG)))
211 {
213 return FALSE;
214 }
215 }
216 if (!(hDlgTmpl = LoadResource(hDlginst, hResInfo )) ||
217 !(template = LockResource( hDlgTmpl )))
218 {
220 return FALSE;
221 }
222 }
223 if (TRACE_ON(commdlg))
224 _dump_cf_flags(lpChFont->Flags);
225
226 if (lpChFont->Flags & CF_SELECTSCRIPT)
227 FIXME(": unimplemented flag (ignored)\n");
228
230 lpChFont->hwndOwner, FormatCharDlgProcW, (LPARAM)lpChFont );
231}
static INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: fontdlg.c:1270
HINSTANCE hInstance
Definition: commdlg.h:289
DWORD Flags
Definition: commdlg.h:284
HWND hwndOwner
Definition: commdlg.h:280
LPCWSTR lpTemplateName
Definition: commdlg.h:288
INT_PTR WINAPI DialogBoxIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)

Referenced by dialog_choose_font(), and OSK_ChooseFont().

◆ CommDlgExtendedError()

DWORD WINAPI CommDlgExtendedError ( void  )

Definition at line 148 of file cdlg32.c.

149{
152 else
153 return 0; /* we never set an error, so there isn't one */
154}
static DWORD COMDLG32_TlsIndex
Definition: cdlg32.c:47
LPVOID WINAPI TlsGetValue(IN DWORD Index)
Definition: thread.c:1240
uint32_t DWORD_PTR
Definition: typedefs.h:65
#define TLS_OUT_OF_INDEXES
Definition: winbase.h:575

Referenced by CheckCommDlgError(), DoOpenFile(), DoSaveFile(), ExportFile(), MountFloppy(), test_arrange(), test_create_view_template(), test_create_view_window2(), test_DialogCancel(), test_extension_helper(), test_getfolderpath(), test_mru(), test_null_filename(), test_ok(), test_PageSetupDlgA(), test_PrintDlgA(), test_PrintDlgExW(), test_resizable2(), and test_resize().

◆ FindTextA()

HWND WINAPI FindTextA ( LPFINDREPLACEA  pfr)

Definition at line 463 of file finddlg.c.

465 {
467
468 TRACE("LPFINDREPLACE=%p\n", pfr);
469
471 return 0;
472
473 if((pdata = COMDLG32_AllocMem(sizeof(COMDLG32_FR_Data))) == NULL)
474 return 0; /* Error has been set */
475
476 pdata->user_fr.fra = pfr;
477 pdata->fr = *pfr;
479}
LPVOID COMDLG32_AllocMem(int size) __WINE_ALLOC_SIZE(1) DECLSPEC_HIDDEN
Definition: cdlg32.c:109
static HWND COMDLG32_FR_DoFindReplace(COMDLG32_FR_Data *pdata)
Definition: finddlg.c:386
static BOOL COMDLG32_FR_CheckPartial(const FINDREPLACEA *pfr, BOOL Replace)
Definition: finddlg.c:324
static PROTOCOLDATA * pdata
Definition: protocol.c:158

◆ FindTextW()

HWND WINAPI FindTextW ( LPFINDREPLACEW  pfr)

Definition at line 514 of file finddlg.c.

516 {
518 DWORD len;
519
520 TRACE("LPFINDREPLACE=%p\n", pfr);
521
523 return 0;
524
526 NULL, 0, NULL, NULL );
527 if((pdata = COMDLG32_AllocMem(sizeof(COMDLG32_FR_Data) + len)) == NULL)
528 return 0; /* Error has been set */
529
530 pdata->user_fr.frw = pfr;
531 pdata->fr = *(LPFINDREPLACEA)pfr; /* FINDREPLACEx have same size */
532 pdata->fr.Flags |= FR_WINE_UNICODE;
533 pdata->fr.lpstrFindWhat = (LPSTR)(pdata + 1); /* Set string pointer */
535 pdata->fr.lpstrFindWhat, len, NULL, NULL );
537}
#define FR_WINE_UNICODE
Definition: cdlg.h:39
struct FINDREPLACEA * LPFINDREPLACEA
#define WideCharToMultiByte
Definition: compat.h:111
unsigned long DWORD
Definition: ntddk_ex.h:95
LPSTR lpstrFindWhat
Definition: commdlg.h:307
WORD wFindWhatLen
Definition: commdlg.h:309

Referenced by dialog_find().

◆ GetFileTitleA()

short WINAPI GetFileTitleA ( LPCSTR  lpFile,
LPSTR  lpTitle,
WORD  cbBuf 
)

Definition at line 4826 of file filedlg.c.

4827{
4828 int ret;
4829 UNICODE_STRING strWFile;
4830 LPWSTR lpWTitle;
4831
4832 RtlCreateUnicodeStringFromAsciiz(&strWFile, lpFile);
4833 lpWTitle = heap_alloc(cbBuf * sizeof(WCHAR));
4834 ret = GetFileTitleW(strWFile.Buffer, lpWTitle, cbBuf);
4835 if (!ret) WideCharToMultiByte( CP_ACP, 0, lpWTitle, -1, lpTitle, cbBuf, NULL, NULL );
4836 RtlFreeUnicodeString( &strWFile );
4837 heap_free( lpWTitle );
4838 return ret;
4839}
TCHAR lpTitle[80]
Definition: ctm.c:69
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf)
Definition: filedlg.c:4856
NTSYSAPI BOOLEAN NTAPI RtlCreateUnicodeStringFromAsciiz(_Out_ PUNICODE_STRING Destination, _In_ PCSZ Source)
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)

◆ GetFileTitleW()

short WINAPI GetFileTitleW ( LPCWSTR  lpFile,
LPWSTR  lpTitle,
WORD  cbBuf 
)

Definition at line 4856 of file filedlg.c.

4857{
4858 int i, len;
4859 static const WCHAR brkpoint[] = {'*','[',']',0};
4860 TRACE("(%p %p %d);\n", lpFile, lpTitle, cbBuf);
4861
4862 if(lpFile == NULL || lpTitle == NULL)
4863 return -1;
4864
4865 len = lstrlenW(lpFile);
4866
4867 if (len == 0)
4868 return -1;
4869
4870 if(wcspbrk(lpFile, brkpoint))
4871 return -1;
4872
4873 len--;
4874
4875 if(lpFile[len] == '/' || lpFile[len] == '\\' || lpFile[len] == ':')
4876 return -1;
4877
4878 for(i = len; i >= 0; i--)
4879 {
4880 if (lpFile[i] == '/' || lpFile[i] == '\\' || lpFile[i] == ':')
4881 {
4882 i++;
4883 break;
4884 }
4885 }
4886
4887 if(i == -1)
4888 i++;
4889
4890 TRACE("---> %s\n", debugstr_w(&lpFile[i]));
4891
4892 len = lstrlenW(lpFile+i)+1;
4893 if(cbBuf < len)
4894 return len;
4895
4896 lstrcpyW(lpTitle, &lpFile[i]);
4897 return 0;
4898}
#define lstrcpyW
Definition: compat.h:749
#define lstrlenW
Definition: compat.h:750
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define debugstr_w
Definition: kernel32.h:32
_Check_return_ _CRTIMP _CONST_RETURN wchar_t *__cdecl wcspbrk(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_Control)

Referenced by GetFileTitleA(), and QueryFileDescription().

◆ GetOpenFileNameA()

BOOL WINAPI GetOpenFileNameA ( LPOPENFILENAMEA  )

◆ GetOpenFileNameW()

BOOL WINAPI GetOpenFileNameW ( LPOPENFILENAMEW  )

◆ GetSaveFileNameA()

BOOL WINAPI GetSaveFileNameA ( LPOPENFILENAMEA  )

◆ GetSaveFileNameW()

BOOL WINAPI GetSaveFileNameW ( LPOPENFILENAMEW  ofn)

Definition at line 4801 of file filedlg.c.

4803{
4805 {
4807 return FALSE;
4808 }
4809
4810 if (is_win16_looks(ofn->Flags))
4812 else
4813 {
4815
4818 }
4819}
#define CDERR_STRUCTSIZE
Definition: cderr.h:6
BOOL GetFileName31W(OPENFILENAMEW *lpofn, UINT dlgType) DECLSPEC_HIDDEN
Definition: filedlg31.c:1173
#define SAVE_DIALOG
Definition: commdlg.h:12
static BOOL valid_struct_size(DWORD size)
Definition: filedlg.c:4677
static BOOL GetFileDialog95(FileOpenDlgInfos *info, UINT dlg_type)
Definition: filedlg.c:654
static void init_filedlg_infoW(OPENFILENAMEW *ofn, FileOpenDlgInfos *info)
Definition: filedlg.c:537
static BOOL is_win16_looks(DWORD flags)
Definition: filedlg.c:4683
OPENFILENAME ofn
Definition: sndrec32.cpp:56
DWORD Flags
Definition: commdlg.h:342
DWORD lStructSize
Definition: commdlg.h:329

Referenced by BtrfsSend::Browse(), ClearEvents(), dialog_print_to_file(), DialogSaveFile(), DoSaveAs(), DoSaveFile(), export_file_dlg_proc(), GetSaveFileNameWrapW(), MainWnd_OnExport(), Preview_pSaveImageAs(), SaveClipboardToFile(), SaveEventLog(), and test_DialogCancel().

◆ PageSetupDlgA()

BOOL WINAPI PageSetupDlgA ( LPPAGESETUPDLGA  setupdlg)

Definition at line 3923 of file printdlg.c.

3924{
3926
3927 data.unicode = FALSE;
3928 data.u.dlga = setupdlg;
3929
3930 return pagesetup_common(&data);
3931}
static BOOL pagesetup_common(pagesetup_data *data)
Definition: printdlg.c:3842
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950

Referenced by test_PageSetupDlgA().

◆ PageSetupDlgW()

BOOL WINAPI PageSetupDlgW ( LPPAGESETUPDLGW  setupdlg)

Definition at line 3938 of file printdlg.c.

3939{
3941
3942 data.unicode = TRUE;
3943 data.u.dlgw = setupdlg;
3944
3945 return pagesetup_common(&data);
3946}
#define TRUE
Definition: types.h:120

Referenced by dialog_printsetup(), and PageSetupDlgWrapW().

◆ PrintDlgA()

BOOL WINAPI PrintDlgA ( LPPRINTDLGA  lppd)

Definition at line 2252 of file printdlg.c.

2253{
2254 BOOL bRet = FALSE;
2255 LPVOID ptr;
2257
2258 if (!lppd)
2259 {
2261 return FALSE;
2262 }
2263
2264 if(TRACE_ON(commdlg)) {
2265 char flagstr[1000] = "";
2266 const struct pd_flags *pflag = pd_flags;
2267 for( ; pflag->name; pflag++) {
2268 if(lppd->Flags & pflag->flag)
2269 strcat(flagstr, pflag->name);
2270 }
2271 TRACE("(%p): hwndOwner = %p, hDevMode = %p, hDevNames = %p\n"
2272 "pp. %d-%d, min p %d, max p %d, copies %d, hinst %p\n"
2273 "flags %08x (%s)\n",
2274 lppd, lppd->hwndOwner, lppd->hDevMode, lppd->hDevNames,
2275 lppd->nFromPage, lppd->nToPage, lppd->nMinPage, lppd->nMaxPage,
2276 lppd->nCopies, lppd->hInstance, lppd->Flags, flagstr);
2277 }
2278
2279 if(lppd->lStructSize != sizeof(PRINTDLGA)) {
2280 WARN("structure size failure!!!\n");
2282 return FALSE;
2283 }
2284
2285 if(lppd->Flags & PD_RETURNDEFAULT) {
2287 DRIVER_INFO_3A *dbuf;
2288 HANDLE hprn;
2289 DWORD needed;
2290
2291 if(lppd->hDevMode || lppd->hDevNames) {
2292 WARN("hDevMode or hDevNames non-zero for PD_RETURNDEFAULT\n");
2294 return FALSE;
2295 }
2296 if(!PRINTDLG_OpenDefaultPrinter(&hprn)) {
2297 WARN("Can't find default printer\n");
2299 return FALSE;
2300 }
2301
2302 GetPrinterA(hprn, 2, NULL, 0, &needed);
2303 pbuf = HeapAlloc(GetProcessHeap(), 0, needed);
2304 GetPrinterA(hprn, 2, (LPBYTE)pbuf, needed, &needed);
2305
2306 GetPrinterDriverA(hprn, NULL, 3, NULL, 0, &needed);
2307 dbuf = HeapAlloc(GetProcessHeap(),0,needed);
2308 if (!GetPrinterDriverA(hprn, NULL, 3, (LPBYTE)dbuf, needed, &needed)) {
2309 ERR("GetPrinterDriverA failed, le %d, fix your config for printer %s!\n",
2310 GetLastError(),pbuf->pPrinterName);
2311 HeapFree(GetProcessHeap(), 0, dbuf);
2314 return FALSE;
2315 }
2316 ClosePrinter(hprn);
2317
2319 dbuf->pDriverPath,
2320 pbuf->pPrinterName,
2321 pbuf->pPortName);
2322 lppd->hDevMode = GlobalAlloc(GMEM_MOVEABLE, pbuf->pDevMode->dmSize +
2323 pbuf->pDevMode->dmDriverExtra);
2324 ptr = GlobalLock(lppd->hDevMode);
2325 memcpy(ptr, pbuf->pDevMode, pbuf->pDevMode->dmSize +
2326 pbuf->pDevMode->dmDriverExtra);
2327 GlobalUnlock(lppd->hDevMode);
2329 HeapFree(GetProcessHeap(), 0, dbuf);
2330 bRet = TRUE;
2331 } else {
2332 HGLOBAL hDlgTmpl;
2333 PRINT_PTRA *PrintStructures;
2334
2335 /* load Dialog resources,
2336 * depending on Flags indicates Print32 or Print32_setup dialog
2337 */
2338 hDlgTmpl = PRINTDLG_GetDlgTemplateA(lppd);
2339 if (!hDlgTmpl) {
2341 return FALSE;
2342 }
2343 ptr = LockResource( hDlgTmpl );
2344 if (!ptr) {
2346 return FALSE;
2347 }
2348
2349 PrintStructures = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
2350 sizeof(PRINT_PTRA));
2351 PrintStructures->lpPrintDlg = lppd;
2352
2353 /* and create & process the dialog .
2354 * -1 is failure, 0 is broken hwnd, everything else is ok.
2355 */
2358 bRet = (0<DialogBoxIndirectParamA(hInst, ptr, lppd->hwndOwner,
2360 (LPARAM)PrintStructures));
2361
2362 if(bRet) {
2363 DEVMODEA *lpdm = PrintStructures->lpDevMode, *lpdmReturn;
2364 PRINTER_INFO_2A *pi = PrintStructures->lpPrinterInfo;
2365 DRIVER_INFO_3A *di = PrintStructures->lpDriverInfo;
2366
2367 if (lppd->hDevMode == 0) {
2368 TRACE(" No hDevMode yet... Need to create my own\n");
2370 lpdm->dmSize + lpdm->dmDriverExtra);
2371 } else {
2372 lppd->hDevMode = GlobalReAlloc(lppd->hDevMode,
2373 lpdm->dmSize + lpdm->dmDriverExtra,
2375 }
2376 lpdmReturn = GlobalLock(lppd->hDevMode);
2377 memcpy(lpdmReturn, lpdm, lpdm->dmSize + lpdm->dmDriverExtra);
2378
2380 di->pDriverPath,
2381 pi->pPrinterName,
2382 pi->pPortName
2383 );
2384 GlobalUnlock(lppd->hDevMode);
2385 }
2386 HeapFree(GetProcessHeap(), 0, PrintStructures->lpDevMode);
2387 HeapFree(GetProcessHeap(), 0, PrintStructures->lpPrinterInfo);
2388 HeapFree(GetProcessHeap(), 0, PrintStructures->lpDriverInfo);
2389 HeapFree(GetProcessHeap(), 0, PrintStructures);
2390 }
2391 if(bRet && (lppd->Flags & PD_RETURNDC || lppd->Flags & PD_RETURNIC))
2392 bRet = PRINTDLG_CreateDCA(lppd);
2393
2394 TRACE("exit! (%d)\n", bRet);
2395 return bRet;
2396}
char * strcat(char *DstString, const char *SrcString)
Definition: utclib.c:568
#define WARN(fmt,...)
Definition: precomp.h:61
#define ERR(fmt,...)
Definition: precomp.h:57
#define PDERR_RETDEFFAILURE
Definition: cderr.h:21
#define PDERR_NODEFAULTPRN
Definition: cderr.h:26
#define CDERR_INITIALIZATION
Definition: cderr.h:7
#define PD_ENABLESETUPTEMPLATE
Definition: commdlg.h:162
#define PD_RETURNIC
Definition: commdlg.h:156
#define PD_RETURNDC
Definition: commdlg.h:155
#define PD_RETURNDEFAULT
Definition: commdlg.h:157
#define PD_ENABLEPRINTTEMPLATE
Definition: commdlg.h:161
static BOOL PRINTDLG_CreateDevNames(HGLOBAL *hmem, const char *DeviceDriverName, const char *DeviceName, const char *OutputPort)
Definition: printdlg.c:476
static BOOL PRINTDLG_CreateDCA(LPPRINTDLGA lppd)
Definition: printdlg.c:2191
static INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: printdlg.c:2018
static BOOL PRINTDLG_OpenDefaultPrinter(HANDLE *hprn)
Definition: printdlg.c:368
static HGLOBAL PRINTDLG_GetDlgTemplateA(const PRINTDLGA *lppd)
Definition: printdlg.c:2118
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
#define HeapFree(x, y, z)
Definition: compat.h:735
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
HINSTANCE hInst
Definition: dxdiag.c:13
LPVOID NTAPI GlobalLock(HGLOBAL hMem)
Definition: heapmem.c:755
HGLOBAL NTAPI GlobalReAlloc(HGLOBAL hMem, SIZE_T dwBytes, UINT uFlags)
Definition: heapmem.c:825
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
Definition: heapmem.c:1190
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
Definition: heapmem.c:368
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
static PVOID ptr
Definition: dispmode.c:27
static refpint_t pi[]
Definition: server.c:96
LPDEVMODEA lpDevMode
Definition: printdlg.c:61
LPDRIVER_INFO_3A lpDriverInfo
Definition: printdlg.c:64
LPPRINTER_INFO_2A lpPrinterInfo
Definition: printdlg.c:63
LPPRINTDLGA lpPrintDlg
Definition: printdlg.c:62
LPSTR pDriverPath
Definition: winspool.h:406
WORD dmDriverExtra
Definition: wingdi.h:1569
WORD dmSize
Definition: wingdi.h:1568
Definition: pbuf.h:186
DWORD flag
Definition: printdlg.c:90
LPCSTR name
Definition: printdlg.c:91
WORD nMaxPage
Definition: commdlg.h:474
DWORD Flags
Definition: commdlg.h:470
HINSTANCE hInstance
Definition: commdlg.h:476
WORD nCopies
Definition: commdlg.h:475
WORD nFromPage
Definition: commdlg.h:471
HGLOBAL hDevMode
Definition: commdlg.h:467
WORD nToPage
Definition: commdlg.h:472
WORD nMinPage
Definition: commdlg.h:473
HGLOBAL hDevNames
Definition: commdlg.h:468
HWND hwndOwner
Definition: commdlg.h:466
DWORD lStructSize
Definition: commdlg.h:465
unsigned char * LPBYTE
Definition: typedefs.h:53
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define GMEM_MOVEABLE
Definition: winbase.h:320
WINBOOL WINAPI GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded)
WINBOOL WINAPI GetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded)
Definition: printers.c:2062
WINBOOL WINAPI ClosePrinter(HANDLE hPrinter)
Definition: printers.c:176

Referenced by PrintDlgExA(), test_abort_proc(), test_DialogCancel(), test_PrintDlgA(), and test_PrintDlgExW().

◆ PrintDlgW()

BOOL WINAPI PrintDlgW ( LPPRINTDLGW  lppd)

Definition at line 2403 of file printdlg.c.

2404{
2405 BOOL bRet = FALSE;
2406 LPVOID ptr;
2408
2409 if (!lppd)
2410 {
2412 return FALSE;
2413 }
2414
2415 if(TRACE_ON(commdlg)) {
2416 char flagstr[1000] = "";
2417 const struct pd_flags *pflag = pd_flags;
2418 for( ; pflag->name; pflag++) {
2419 if(lppd->Flags & pflag->flag)
2420 strcat(flagstr, pflag->name);
2421 }
2422 TRACE("(%p): hwndOwner = %p, hDevMode = %p, hDevNames = %p\n"
2423 "pp. %d-%d, min p %d, max p %d, copies %d, hinst %p\n"
2424 "flags %08x (%s)\n",
2425 lppd, lppd->hwndOwner, lppd->hDevMode, lppd->hDevNames,
2426 lppd->nFromPage, lppd->nToPage, lppd->nMinPage, lppd->nMaxPage,
2427 lppd->nCopies, lppd->hInstance, lppd->Flags, flagstr);
2428 }
2429
2430 if(lppd->lStructSize != sizeof(PRINTDLGW)) {
2431 WARN("structure size failure!!!\n");
2433 return FALSE;
2434 }
2435
2436 if(lppd->Flags & PD_RETURNDEFAULT) {
2438 DRIVER_INFO_3W *dbuf;
2439 HANDLE hprn;
2440 DWORD needed;
2441
2442 if(lppd->hDevMode || lppd->hDevNames) {
2443 WARN("hDevMode or hDevNames non-zero for PD_RETURNDEFAULT\n");
2445 return FALSE;
2446 }
2447 if(!PRINTDLG_OpenDefaultPrinter(&hprn)) {
2448 WARN("Can't find default printer\n");
2450 return FALSE;
2451 }
2452
2453 GetPrinterW(hprn, 2, NULL, 0, &needed);
2454 pbuf = HeapAlloc(GetProcessHeap(), 0, needed);
2455 GetPrinterW(hprn, 2, (LPBYTE)pbuf, needed, &needed);
2456
2457 GetPrinterDriverW(hprn, NULL, 3, NULL, 0, &needed);
2458 dbuf = HeapAlloc(GetProcessHeap(),0,needed);
2459 if (!GetPrinterDriverW(hprn, NULL, 3, (LPBYTE)dbuf, needed, &needed)) {
2460 ERR("GetPrinterDriverA failed, le %d, fix your config for printer %s!\n",
2461 GetLastError(),debugstr_w(pbuf->pPrinterName));
2462 HeapFree(GetProcessHeap(), 0, dbuf);
2465 return FALSE;
2466 }
2467 ClosePrinter(hprn);
2468
2470 dbuf->pDriverPath,
2471 pbuf->pPrinterName,
2472 pbuf->pPortName);
2473 lppd->hDevMode = GlobalAlloc(GMEM_MOVEABLE, pbuf->pDevMode->dmSize +
2474 pbuf->pDevMode->dmDriverExtra);
2475 ptr = GlobalLock(lppd->hDevMode);
2476 memcpy(ptr, pbuf->pDevMode, pbuf->pDevMode->dmSize +
2477 pbuf->pDevMode->dmDriverExtra);
2478 GlobalUnlock(lppd->hDevMode);
2480 HeapFree(GetProcessHeap(), 0, dbuf);
2481 bRet = TRUE;
2482 } else {
2483 HGLOBAL hDlgTmpl;
2484 PRINT_PTRW *PrintStructures;
2485
2486 /* load Dialog resources,
2487 * depending on Flags indicates Print32 or Print32_setup dialog
2488 */
2489 hDlgTmpl = PRINTDLG_GetDlgTemplateW(lppd);
2490 if (!hDlgTmpl) {
2492 return FALSE;
2493 }
2494 ptr = LockResource( hDlgTmpl );
2495 if (!ptr) {
2497 return FALSE;
2498 }
2499
2500 PrintStructures = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
2501 sizeof(PRINT_PTRW));
2502 PrintStructures->lpPrintDlg = lppd;
2503
2504 /* and create & process the dialog .
2505 * -1 is failure, 0 is broken hwnd, everything else is ok.
2506 */
2509 bRet = (0<DialogBoxIndirectParamW(hInst, ptr, lppd->hwndOwner,
2511 (LPARAM)PrintStructures));
2512
2513 if(bRet) {
2514 DEVMODEW *lpdm = PrintStructures->lpDevMode, *lpdmReturn;
2515 PRINTER_INFO_2W *pi = PrintStructures->lpPrinterInfo;
2516 DRIVER_INFO_3W *di = PrintStructures->lpDriverInfo;
2517
2518 if (lppd->hDevMode == 0) {
2519 TRACE(" No hDevMode yet... Need to create my own\n");
2521 lpdm->dmSize + lpdm->dmDriverExtra);
2522 } else {
2523 WORD locks;
2524 if((locks = (GlobalFlags(lppd->hDevMode) & GMEM_LOCKCOUNT))) {
2525 WARN("hDevMode has %d locks on it. Unlocking it now\n", locks);
2526 while(locks--) {
2527 GlobalUnlock(lppd->hDevMode);
2528 TRACE("Now got %d locks\n", locks);
2529 }
2530 }
2531 lppd->hDevMode = GlobalReAlloc(lppd->hDevMode,
2532 lpdm->dmSize + lpdm->dmDriverExtra,
2534 }
2535 lpdmReturn = GlobalLock(lppd->hDevMode);
2536 memcpy(lpdmReturn, lpdm, lpdm->dmSize + lpdm->dmDriverExtra);
2537
2538 if (lppd->hDevNames != 0) {
2539 WORD locks;
2540 if((locks = (GlobalFlags(lppd->hDevNames) & GMEM_LOCKCOUNT))) {
2541 WARN("hDevNames has %d locks on it. Unlocking it now\n", locks);
2542 while(locks--)
2543 GlobalUnlock(lppd->hDevNames);
2544 }
2545 }
2547 di->pDriverPath,
2548 pi->pPrinterName,
2549 pi->pPortName
2550 );
2551 GlobalUnlock(lppd->hDevMode);
2552 }
2553 HeapFree(GetProcessHeap(), 0, PrintStructures->lpDevMode);
2554 HeapFree(GetProcessHeap(), 0, PrintStructures->lpPrinterInfo);
2555 HeapFree(GetProcessHeap(), 0, PrintStructures->lpDriverInfo);
2556 HeapFree(GetProcessHeap(), 0, PrintStructures);
2557 }
2558 if(bRet && (lppd->Flags & PD_RETURNDC || lppd->Flags & PD_RETURNIC))
2559 bRet = PRINTDLG_CreateDCW(lppd);
2560
2561 TRACE("exit! (%d)\n", bRet);
2562 return bRet;
2563}
static INT_PTR CALLBACK PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: printdlg.c:2067
static BOOL PRINTDLG_CreateDCW(LPPRINTDLGW lppd)
Definition: printdlg.c:2212
static BOOL PRINTDLG_CreateDevNamesW(HGLOBAL *hmem, LPCWSTR DeviceDriverName, LPCWSTR DeviceName, LPCWSTR OutputPort)
Definition: printdlg.c:530
static HGLOBAL PRINTDLG_GetDlgTemplateW(const PRINTDLGW *lppd)
Definition: printdlg.c:2152
unsigned short WORD
Definition: ntddk_ex.h:93
UINT NTAPI GlobalFlags(HGLOBAL hMem)
Definition: heapmem.c:520
LPDEVMODEW lpDevMode
Definition: printdlg.c:75
LPPRINTER_INFO_2W lpPrinterInfo
Definition: printdlg.c:77
LPPRINTDLGW lpPrintDlg
Definition: printdlg.c:76
LPDRIVER_INFO_3W lpDriverInfo
Definition: printdlg.c:78
LPWSTR pDriverPath
Definition: winspool.h:419
WORD dmDriverExtra
Definition: wingdi.h:1621
WORD dmSize
Definition: wingdi.h:1620
HGLOBAL hDevMode
Definition: commdlg.h:488
DWORD Flags
Definition: commdlg.h:491
HWND hwndOwner
Definition: commdlg.h:487
HINSTANCE hInstance
Definition: commdlg.h:497
WORD nToPage
Definition: commdlg.h:493
HGLOBAL hDevNames
Definition: commdlg.h:489
WORD nMaxPage
Definition: commdlg.h:495
WORD nMinPage
Definition: commdlg.h:494
DWORD lStructSize
Definition: commdlg.h:486
WORD nCopies
Definition: commdlg.h:496
WORD nFromPage
Definition: commdlg.h:492
#define GMEM_LOCKCOUNT
Definition: winbase.h:335
WINBOOL WINAPI GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded)
Definition: printers.c:2533
WINBOOL WINAPI GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded)

Referenced by dialog_print(), get_default_printer_opts(), MACRO_Print(), pagesetup_change_printer_dialog(), PrintDlgExW(), and PrintDlgWrapW().

◆ ReplaceTextA()

HWND WINAPI ReplaceTextA ( LPFINDREPLACEA  pfr)

Definition at line 486 of file finddlg.c.

488 {
490
491 TRACE("LPFINDREPLACE=%p\n", pfr);
492
494 return 0;
495
496 if((pdata = COMDLG32_AllocMem(sizeof(COMDLG32_FR_Data))) == NULL)
497 return 0; /* Error has been set */
498
499 pdata->user_fr.fra = pfr;
500 pdata->fr = *pfr;
501 pdata->fr.Flags |= FR_WINE_REPLACE;
503}
#define FR_WINE_REPLACE
Definition: cdlg.h:40

◆ ReplaceTextW()

HWND WINAPI ReplaceTextW ( LPFINDREPLACEW  pfr)

Definition at line 548 of file finddlg.c.

550 {
552 DWORD len1, len2;
553
554 TRACE("LPFINDREPLACE=%p\n", pfr);
555
557 return 0;
558
560 NULL, 0, NULL, NULL );
562 NULL, 0, NULL, NULL );
563 if((pdata = COMDLG32_AllocMem(sizeof(COMDLG32_FR_Data) + len1 + len2)) == NULL)
564 return 0; /* Error has been set */
565
566 pdata->user_fr.frw = pfr;
567 pdata->fr = *(LPFINDREPLACEA)pfr; /* FINDREPLACEx have same size */
569 pdata->fr.lpstrFindWhat = (LPSTR)(pdata + 1); /* Set string pointer */
570 pdata->fr.lpstrReplaceWith = pdata->fr.lpstrFindWhat + len1;
571
573 pdata->fr.lpstrFindWhat, len1, NULL, NULL );
575 pdata->fr.lpstrReplaceWith, len2, NULL, NULL );
577}
LPSTR lpstrReplaceWith
Definition: commdlg.h:308
WORD wReplaceWithLen
Definition: commdlg.h:310

Referenced by dialog_find().