ReactOS  0.4.14-dev-583-g2a1ba2c
prsht.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PROPSHEETPAGEA
 
struct  _PROPSHEETPAGEW
 
struct  _PROPSHEETHEADERA
 
struct  _PROPSHEETHEADERW
 
struct  _PSHNOTIFY
 

Macros

#define SNDMSG   SendMessage
 
#define MAXPROPPAGES   100
 
#define PSP_DEFAULT   0
 
#define PSP_DLGINDIRECT   1
 
#define PSP_USEHICON   2
 
#define PSP_USEICONID   4
 
#define PSP_USETITLE   8
 
#define PSP_RTLREADING   16
 
#define PSP_HASHELP   32
 
#define PSP_USEREFPARENT   64
 
#define PSP_USECALLBACK   128
 
#define PSP_PREMATURE   1024
 
#define PSPCB_RELEASE   1
 
#define PSPCB_CREATE   2
 
#define PSH_DEFAULT   0
 
#define PSH_PROPTITLE   1
 
#define PSH_USEHICON   2
 
#define PSH_USEICONID   4
 
#define PSH_PROPSHEETPAGE   8
 
#define PSH_WIZARDHASFINISH   16
 
#define PSH_WIZARD   32
 
#define PSH_USEPSTARTPAGE   64
 
#define PSH_NOAPPLYNOW   128
 
#define PSH_USECALLBACK   256
 
#define PSH_HASHELP   512
 
#define PSH_MODELESS   1024
 
#define PSH_RTLREADING   2048
 
#define PSH_WIZARDCONTEXTHELP   4096
 
#define PSCB_INITIALIZED   1
 
#define PSCB_PRECREATE   2
 
#define PSM_GETTABCONTROL   1140
 
#define PSM_GETCURRENTPAGEHWND   1142
 
#define PSM_ISDIALOGMESSAGE   1141
 
#define PSM_PRESSBUTTON   1137
 
#define PSM_SETCURSELID   1138
 
#define PSM_SETFINISHTEXTW   1145
 
#define PSM_SETFINISHTEXTA   1139
 
#define PSN_FIRST   (0U - 200U)
 
#define PSN_SETACTIVE   (PSN_FIRST - 0)
 
#define PSN_KILLACTIVE   (PSN_FIRST - 1)
 
#define PSN_APPLY   (PSN_FIRST - 2)
 
#define PSN_RESET   (PSN_FIRST - 3)
 
#define PSN_HELP   (PSN_FIRST - 5)
 
#define PSN_WIZBACK   (PSN_FIRST - 6)
 
#define PSN_WIZNEXT   (PSN_FIRST - 7)
 
#define PSN_WIZFINISH   (PSN_FIRST - 8)
 
#define PSN_QUERYCANCEL   (PSN_FIRST - 9)
 
#define PSN_GETOBJECT   (PSN_FIRST - 10)
 
#define PSN_TRANSLATEACCELERATOR   (PSN_FIRST - 12)
 
#define PSN_QUERYINITIALFOCUS   (PSN_FIRST - 13)
 
#define PSN_LAST   (PSN_FIRST - 99)
 
#define PSNRET_NOERROR   0
 
#define PSNRET_INVALID   1
 
#define PSNRET_INVALID_NOCHANGEPAGE   2
 
#define ID_PSRESTARTWINDOWS   2
 
#define ID_PSREBOOTSYSTEM   3
 
#define WIZ_CXDLG   276
 
#define WIZ_CYDLG   140
 
#define WIZ_CXBMP   80
 
#define WIZ_BODYX   92
 
#define WIZ_BODYCX   184
 
#define PROP_SM_CXDLG   212
 
#define PROP_SM_CYDLG   188
 
#define PROP_MED_CXDLG   227
 
#define PROP_MED_CYDLG   215
 
#define PROP_LG_CXDLG   252
 
#define PROP_LG_CYDLG   218
 
#define PSBTN_MAX   6
 
#define PSBTN_BACK   0
 
#define PSBTN_NEXT   1
 
#define PSBTN_FINISH   2
 
#define PSBTN_OK   3
 
#define PSBTN_APPLYNOW   4
 
#define PSBTN_CANCEL   5
 
#define PSBTN_HELP   6
 
#define PSWIZB_BACK   1
 
#define PSWIZB_NEXT   2
 
#define PSWIZB_FINISH   4
 
#define PSWIZB_DISABLEDFINISH   8
 
#define PSM_SETWIZBUTTONS   (WM_USER+112)
 
#define PSM_APPLY   (WM_USER+110)
 
#define PSM_UNCHANGED   (WM_USER+109)
 
#define PSM_QUERYSIBLINGS   (WM_USER+108)
 
#define PSM_CANCELTOCLOSE   (WM_USER+107)
 
#define PSM_REBOOTSYSTEM   (WM_USER+106)
 
#define PSM_RESTARTWINDOWS   (WM_USER+105)
 
#define PSM_CHANGED   (WM_USER+104)
 
#define PSM_ADDPAGE   (WM_USER+103)
 
#define PSM_REMOVEPAGE   (WM_USER+102)
 
#define PSM_SETCURSEL   (WM_USER+101)
 
#define PSM_SETTITLEA   (WM_USER+111)
 
#define PSM_SETTITLEW   (WM_USER+120)
 
#define PSPCB_ADDREF   0
 
#define PROPSHEETPAGEA_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pcRefParent)
 
#define PROPSHEETPAGEA_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pszHeaderSubTitle)
 
#define PROPSHEETPAGEA_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, hActCtx)
 
#define PROPSHEETPAGEA_V4_SIZE   sizeof(PROPSHEETPAGEA)
 
#define PROPSHEETPAGEW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pcRefParent)
 
#define PROPSHEETPAGEW_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pszHeaderSubTitle)
 
#define PROPSHEETPAGEW_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, hActCtx)
 
#define PROPSHEETPAGEW_V4_SIZE   sizeof(PROPSHEETPAGEW)
 
#define _HPROPSHEETPAGE_DEFINED
 
#define PROPSHEETHEADERA_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETHEADERA, pfnCallback)
 
#define PROPSHEETHEADERA_V2_SIZE   sizeof(PROPSHEETHEADERA)
 
#define PROPSHEETHEADERW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETHEADERW, pfnCallback)
 
#define PROPSHEETHEADERW_V2_SIZE   sizeof(PROPSHEETHEADERW)
 
#define PropSheet_AddPage(d, p)   SendMessage(d,PSM_ADDPAGE,0,(LPARAM)p)
 
#define PropSheet_Apply(d)   SendMessage(d,PSM_APPLY,0,0)
 
#define PropSheet_CancelToClose(d)   SendMessage(d,PSM_CANCELTOCLOSE,0,0)
 
#define PropSheet_Changed(d, w)   SendMessage(d,PSM_CHANGED,(WPARAM)w,0)
 
#define PropSheet_GetCurrentPageHwnd(d)   (HWND)SendMessage(d,PSM_GETCURRENTPAGEHWND,0,0)
 
#define PropSheet_GetTabControl(d)   (HWND)SendMessage(d,PSM_GETTABCONTROL,0,0)
 
#define PropSheet_IsDialogMessage(d, m)   (BOOL)SendMessage(d,PSM_ISDIALOGMESSAGE,0,(LPARAM)m)
 
#define PropSheet_PressButton(d, i)   SendMessage(d,PSM_PRESSBUTTON,i,0)
 
#define PropSheet_QuerySiblings(d, w, l)   SendMessage(d,PSM_QUERYSIBLINGS,w,l)
 
#define PropSheet_RebootSystem(d)   SendMessage(d,PSM_REBOOTSYSTEM,0,0)
 
#define PropSheet_RemovePage(d, i, p)   SendMessage(d,PSM_REMOVEPAGE,i,(LPARAM)p)
 
#define PropSheet_RestartWindows(d)   SendMessage(d,PSM_RESTARTWINDOWS,0,0)
 
#define PropSheet_SetCurSel(d, p, i)   SendMessage(d,PSM_SETCURSEL,i,(LPARAM)p)
 
#define PropSheet_SetCurSelByID(d, i)   SendMessage(d,PSM_SETCURSELID,0,i)
 
#define PropSheet_SetFinishText(d, s)   SendMessage(d,PSM_SETFINISHTEXT,0,(LPARAM)s)
 
#define PropSheet_SetTitle(d, w, s)   SendMessage(d,PSM_SETTITLE,w,(LPARAM)s)
 
#define PropSheet_SetWizButtons(d, f)   PostMessage(d,PSM_SETWIZBUTTONS,0,(LPARAM)f)
 
#define PropSheet_UnChanged(d, w)   SendMessage(d,PSM_UNCHANGED,(WPARAM)w,0)
 
#define PropSheet_RecalcPageSizes(d)   SendMessage(d,PSM_RECALCPAGESIZES,0,0)
 
#define WC_PROPSHEETA   "SysPropertySheet"
 
#define LPFNPSPCALLBACK   LPFNPSPCALLBACKA
 
#define PROPSHEETPAGE   PROPSHEETPAGEA
 
#define LPPROPSHEETPAGE   LPPROPSHEETPAGEA
 
#define LPCPROPSHEETPAGE   LPCPROPSHEETPAGEA
 
#define PROPSHEETHEADER   PROPSHEETHEADERA
 
#define LPPROPSHEETHEADER   LPPROPSHEETHEADERA
 
#define LPCPROPSHEETHEADER   LPCPROPSHEETHEADERA
 
#define PSM_SETTITLE   PSM_SETTITLEA
 
#define PSM_SETFINISHTEXT   PSM_SETFINISHTEXTA
 
#define PSM_SETHEADERTITLE   PSM_SETHEADERTITLEA
 
#define PSM_SETHEADERSUBTITLE   PSM_SETHEADERSUBTITLEA
 
#define CreatePropertySheetPage   CreatePropertySheetPageA
 
#define PropertySheet   PropertySheetA
 

Typedefs

typedef struct _PROPSHEETPAGEA PROPSHEETPAGEA
 
typedef struct _PROPSHEETPAGEALPPROPSHEETPAGEA
 
typedef struct _PROPSHEETPAGEA PROPSHEETPAGEA_LATEST
 
typedef struct _PROPSHEETPAGEALPPROPSHEETPAGEA_LATEST
 
typedef const PROPSHEETPAGEALPCPROPSHEETPAGEA
 
typedef const PROPSHEETPAGEALPCPROPSHEETPAGEA_LATEST
 
typedef struct _PROPSHEETPAGEW PROPSHEETPAGEW
 
typedef struct _PROPSHEETPAGEWLPPROPSHEETPAGEW
 
typedef struct _PROPSHEETPAGEW PROPSHEETPAGEW_LATEST
 
typedef struct _PROPSHEETPAGEWLPPROPSHEETPAGEW_LATEST
 
typedef const PROPSHEETPAGEWLPCPROPSHEETPAGEW
 
typedef const PROPSHEETPAGEWLPCPROPSHEETPAGEW_LATEST
 
typedef UINT(CALLBACKLPFNPSPCALLBACKA) (HWND, UINT, LPPROPSHEETPAGEA)
 
typedef UINT(CALLBACKLPFNPSPCALLBACKW) (HWND, UINT, LPPROPSHEETPAGEW)
 
typedef int(CALLBACKPFNPROPSHEETCALLBACK) (HWND, UINT, LPARAM)
 
typedef struct _PROPSHEETHEADERA PROPSHEETHEADERA
 
typedef struct _PROPSHEETHEADERALPPROPSHEETHEADERA
 
typedef const PROPSHEETHEADERALPCPROPSHEETHEADERA
 
typedef struct _PROPSHEETHEADERW PROPSHEETHEADERW
 
typedef struct _PROPSHEETHEADERWLPPROPSHEETHEADERW
 
typedef const PROPSHEETHEADERWLPCPROPSHEETHEADERW
 
typedef BOOL(CALLBACKLPFNADDPROPSHEETPAGE) (HPROPSHEETPAGE, LPARAM)
 
typedef BOOL(CALLBACKLPFNADDPROPSHEETPAGES) (LPVOID, LPFNADDPROPSHEETPAGE, LPARAM)
 
typedef struct _PSHNOTIFY PSHNOTIFY
 
typedef struct _PSHNOTIFYLPPSHNOTIFY
 

Functions

 DECLARE_HANDLE (HPROPSHEETPAGE)
 
HPROPSHEETPAGE WINAPI CreatePropertySheetPageA (LPCPROPSHEETPAGEA)
 
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW (LPCPROPSHEETPAGEW)
 
BOOL WINAPI DestroyPropertySheetPage (HPROPSHEETPAGE)
 
INT_PTR WINAPI PropertySheetA (LPCPROPSHEETHEADERA)
 
INT_PTR WINAPI PropertySheetW (LPCPROPSHEETHEADERW)
 

Variables

static const WCHAR WC_PROPSHEETW []
 

Macro Definition Documentation

◆ _HPROPSHEETPAGE_DEFINED

#define _HPROPSHEETPAGE_DEFINED

Definition at line 236 of file prsht.h.

◆ CreatePropertySheetPage

#define CreatePropertySheetPage   CreatePropertySheetPageA

Definition at line 381 of file prsht.h.

◆ ID_PSREBOOTSYSTEM

#define ID_PSREBOOTSYSTEM   3

Definition at line 133 of file prsht.h.

◆ ID_PSRESTARTWINDOWS

#define ID_PSRESTARTWINDOWS   2

Definition at line 132 of file prsht.h.

◆ LPCPROPSHEETHEADER

#define LPCPROPSHEETHEADER   LPCPROPSHEETHEADERA

Definition at line 376 of file prsht.h.

◆ LPCPROPSHEETPAGE

#define LPCPROPSHEETPAGE   LPCPROPSHEETPAGEA

Definition at line 373 of file prsht.h.

◆ LPFNPSPCALLBACK

#define LPFNPSPCALLBACK   LPFNPSPCALLBACKA

Definition at line 370 of file prsht.h.

◆ LPPROPSHEETHEADER

#define LPPROPSHEETHEADER   LPPROPSHEETHEADERA

Definition at line 375 of file prsht.h.

◆ LPPROPSHEETPAGE

#define LPPROPSHEETPAGE   LPPROPSHEETPAGEA

Definition at line 372 of file prsht.h.

◆ MAXPROPPAGES

#define MAXPROPPAGES   100

Definition at line 21 of file prsht.h.

◆ PROP_LG_CXDLG

#define PROP_LG_CXDLG   252

Definition at line 143 of file prsht.h.

◆ PROP_LG_CYDLG

#define PROP_LG_CYDLG   218

Definition at line 144 of file prsht.h.

◆ PROP_MED_CXDLG

#define PROP_MED_CXDLG   227

Definition at line 141 of file prsht.h.

◆ PROP_MED_CYDLG

#define PROP_MED_CYDLG   215

Definition at line 142 of file prsht.h.

◆ PROP_SM_CXDLG

#define PROP_SM_CXDLG   212

Definition at line 139 of file prsht.h.

◆ PROP_SM_CYDLG

#define PROP_SM_CYDLG   188

Definition at line 140 of file prsht.h.

◆ PropertySheet

#define PropertySheet   PropertySheetA

Definition at line 382 of file prsht.h.

◆ PropSheet_AddPage

#define PropSheet_AddPage (   d,
  p 
)    SendMessage(d,PSM_ADDPAGE,0,(LPARAM)p)

Definition at line 323 of file prsht.h.

◆ PropSheet_Apply

#define PropSheet_Apply (   d)    SendMessage(d,PSM_APPLY,0,0)

Definition at line 324 of file prsht.h.

◆ PropSheet_CancelToClose

#define PropSheet_CancelToClose (   d)    SendMessage(d,PSM_CANCELTOCLOSE,0,0)

Definition at line 325 of file prsht.h.

◆ PropSheet_Changed

#define PropSheet_Changed (   d,
  w 
)    SendMessage(d,PSM_CHANGED,(WPARAM)w,0)

Definition at line 326 of file prsht.h.

◆ PropSheet_GetCurrentPageHwnd

#define PropSheet_GetCurrentPageHwnd (   d)    (HWND)SendMessage(d,PSM_GETCURRENTPAGEHWND,0,0)

Definition at line 327 of file prsht.h.

◆ PropSheet_GetTabControl

#define PropSheet_GetTabControl (   d)    (HWND)SendMessage(d,PSM_GETTABCONTROL,0,0)

Definition at line 328 of file prsht.h.

◆ PropSheet_IsDialogMessage

#define PropSheet_IsDialogMessage (   d,
  m 
)    (BOOL)SendMessage(d,PSM_ISDIALOGMESSAGE,0,(LPARAM)m)

Definition at line 329 of file prsht.h.

◆ PropSheet_PressButton

#define PropSheet_PressButton (   d,
  i 
)    SendMessage(d,PSM_PRESSBUTTON,i,0)

Definition at line 330 of file prsht.h.

◆ PropSheet_QuerySiblings

#define PropSheet_QuerySiblings (   d,
  w,
  l 
)    SendMessage(d,PSM_QUERYSIBLINGS,w,l)

Definition at line 331 of file prsht.h.

◆ PropSheet_RebootSystem

#define PropSheet_RebootSystem (   d)    SendMessage(d,PSM_REBOOTSYSTEM,0,0)

Definition at line 332 of file prsht.h.

◆ PropSheet_RecalcPageSizes

#define PropSheet_RecalcPageSizes (   d)    SendMessage(d,PSM_RECALCPAGESIZES,0,0)

Definition at line 341 of file prsht.h.

◆ PropSheet_RemovePage

#define PropSheet_RemovePage (   d,
  i,
  p 
)    SendMessage(d,PSM_REMOVEPAGE,i,(LPARAM)p)

Definition at line 333 of file prsht.h.

◆ PropSheet_RestartWindows

#define PropSheet_RestartWindows (   d)    SendMessage(d,PSM_RESTARTWINDOWS,0,0)

Definition at line 334 of file prsht.h.

◆ PropSheet_SetCurSel

#define PropSheet_SetCurSel (   d,
  p,
  i 
)    SendMessage(d,PSM_SETCURSEL,i,(LPARAM)p)

Definition at line 335 of file prsht.h.

◆ PropSheet_SetCurSelByID

#define PropSheet_SetCurSelByID (   d,
  i 
)    SendMessage(d,PSM_SETCURSELID,0,i)

Definition at line 336 of file prsht.h.

◆ PropSheet_SetFinishText

#define PropSheet_SetFinishText (   d,
  s 
)    SendMessage(d,PSM_SETFINISHTEXT,0,(LPARAM)s)

Definition at line 337 of file prsht.h.

◆ PropSheet_SetTitle

#define PropSheet_SetTitle (   d,
  w,
  s 
)    SendMessage(d,PSM_SETTITLE,w,(LPARAM)s)

Definition at line 338 of file prsht.h.

◆ PropSheet_SetWizButtons

#define PropSheet_SetWizButtons (   d,
  f 
)    PostMessage(d,PSM_SETWIZBUTTONS,0,(LPARAM)f)

Definition at line 339 of file prsht.h.

◆ PropSheet_UnChanged

#define PropSheet_UnChanged (   d,
  w 
)    SendMessage(d,PSM_UNCHANGED,(WPARAM)w,0)

Definition at line 340 of file prsht.h.

◆ PROPSHEETHEADER

#define PROPSHEETHEADER   PROPSHEETHEADERA

Definition at line 374 of file prsht.h.

◆ PROPSHEETHEADERA_V1_SIZE

#define PROPSHEETHEADERA_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETHEADERA, pfnCallback)

Definition at line 272 of file prsht.h.

◆ PROPSHEETHEADERA_V2_SIZE

#define PROPSHEETHEADERA_V2_SIZE   sizeof(PROPSHEETHEADERA)

Definition at line 273 of file prsht.h.

◆ PROPSHEETHEADERW_V1_SIZE

#define PROPSHEETHEADERW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETHEADERW, pfnCallback)

Definition at line 307 of file prsht.h.

◆ PROPSHEETHEADERW_V2_SIZE

#define PROPSHEETHEADERW_V2_SIZE   sizeof(PROPSHEETHEADERW)

Definition at line 308 of file prsht.h.

◆ PROPSHEETPAGE

#define PROPSHEETPAGE   PROPSHEETPAGEA

Definition at line 371 of file prsht.h.

◆ PROPSHEETPAGEA_V1_SIZE

#define PROPSHEETPAGEA_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pcRefParent)

Definition at line 200 of file prsht.h.

◆ PROPSHEETPAGEA_V2_SIZE

#define PROPSHEETPAGEA_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pszHeaderSubTitle)

Definition at line 201 of file prsht.h.

◆ PROPSHEETPAGEA_V3_SIZE

#define PROPSHEETPAGEA_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, hActCtx)

Definition at line 202 of file prsht.h.

◆ PROPSHEETPAGEA_V4_SIZE

#define PROPSHEETPAGEA_V4_SIZE   sizeof(PROPSHEETPAGEA)

Definition at line 203 of file prsht.h.

◆ PROPSHEETPAGEW_V1_SIZE

#define PROPSHEETPAGEW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pcRefParent)

Definition at line 228 of file prsht.h.

◆ PROPSHEETPAGEW_V2_SIZE

#define PROPSHEETPAGEW_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pszHeaderSubTitle)

Definition at line 229 of file prsht.h.

◆ PROPSHEETPAGEW_V3_SIZE

#define PROPSHEETPAGEW_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, hActCtx)

Definition at line 230 of file prsht.h.

◆ PROPSHEETPAGEW_V4_SIZE

#define PROPSHEETPAGEW_V4_SIZE   sizeof(PROPSHEETPAGEW)

Definition at line 231 of file prsht.h.

◆ PSBTN_APPLYNOW

#define PSBTN_APPLYNOW   4

Definition at line 150 of file prsht.h.

◆ PSBTN_BACK

#define PSBTN_BACK   0

Definition at line 146 of file prsht.h.

◆ PSBTN_CANCEL

#define PSBTN_CANCEL   5

Definition at line 151 of file prsht.h.

◆ PSBTN_FINISH

#define PSBTN_FINISH   2

Definition at line 148 of file prsht.h.

◆ PSBTN_HELP

#define PSBTN_HELP   6

Definition at line 152 of file prsht.h.

◆ PSBTN_MAX

#define PSBTN_MAX   6

Definition at line 145 of file prsht.h.

◆ PSBTN_NEXT

#define PSBTN_NEXT   1

Definition at line 147 of file prsht.h.

◆ PSBTN_OK

#define PSBTN_OK   3

Definition at line 149 of file prsht.h.

◆ PSCB_INITIALIZED

#define PSCB_INITIALIZED   1

Definition at line 75 of file prsht.h.

◆ PSCB_PRECREATE

#define PSCB_PRECREATE   2

Definition at line 76 of file prsht.h.

◆ PSH_DEFAULT

#define PSH_DEFAULT   0

Definition at line 39 of file prsht.h.

◆ PSH_HASHELP

#define PSH_HASHELP   512

Definition at line 49 of file prsht.h.

◆ PSH_MODELESS

#define PSH_MODELESS   1024

Definition at line 50 of file prsht.h.

◆ PSH_NOAPPLYNOW

#define PSH_NOAPPLYNOW   128

Definition at line 47 of file prsht.h.

◆ PSH_PROPSHEETPAGE

#define PSH_PROPSHEETPAGE   8

Definition at line 43 of file prsht.h.

◆ PSH_PROPTITLE

#define PSH_PROPTITLE   1

Definition at line 40 of file prsht.h.

◆ PSH_RTLREADING

#define PSH_RTLREADING   2048

Definition at line 51 of file prsht.h.

◆ PSH_USECALLBACK

#define PSH_USECALLBACK   256

Definition at line 48 of file prsht.h.

◆ PSH_USEHICON

#define PSH_USEHICON   2

Definition at line 41 of file prsht.h.

◆ PSH_USEICONID

#define PSH_USEICONID   4

Definition at line 42 of file prsht.h.

◆ PSH_USEPSTARTPAGE

#define PSH_USEPSTARTPAGE   64

Definition at line 46 of file prsht.h.

◆ PSH_WIZARD

#define PSH_WIZARD   32

Definition at line 45 of file prsht.h.

◆ PSH_WIZARDCONTEXTHELP

#define PSH_WIZARDCONTEXTHELP   4096

Definition at line 52 of file prsht.h.

◆ PSH_WIZARDHASFINISH

#define PSH_WIZARDHASFINISH   16

Definition at line 44 of file prsht.h.

◆ PSM_ADDPAGE

#define PSM_ADDPAGE   (WM_USER+103)

Definition at line 165 of file prsht.h.

◆ PSM_APPLY

#define PSM_APPLY   (WM_USER+110)

Definition at line 158 of file prsht.h.

◆ PSM_CANCELTOCLOSE

#define PSM_CANCELTOCLOSE   (WM_USER+107)

Definition at line 161 of file prsht.h.

◆ PSM_CHANGED

#define PSM_CHANGED   (WM_USER+104)

Definition at line 164 of file prsht.h.

◆ PSM_GETCURRENTPAGEHWND

#define PSM_GETCURRENTPAGEHWND   1142

Definition at line 81 of file prsht.h.

◆ PSM_GETTABCONTROL

#define PSM_GETTABCONTROL   1140

Definition at line 80 of file prsht.h.

◆ PSM_ISDIALOGMESSAGE

#define PSM_ISDIALOGMESSAGE   1141

Definition at line 96 of file prsht.h.

◆ PSM_PRESSBUTTON

#define PSM_PRESSBUTTON   1137

Definition at line 100 of file prsht.h.

◆ PSM_QUERYSIBLINGS

#define PSM_QUERYSIBLINGS   (WM_USER+108)

Definition at line 160 of file prsht.h.

◆ PSM_REBOOTSYSTEM

#define PSM_REBOOTSYSTEM   (WM_USER+106)

Definition at line 162 of file prsht.h.

◆ PSM_REMOVEPAGE

#define PSM_REMOVEPAGE   (WM_USER+102)

Definition at line 166 of file prsht.h.

◆ PSM_RESTARTWINDOWS

#define PSM_RESTARTWINDOWS   (WM_USER+105)

Definition at line 163 of file prsht.h.

◆ PSM_SETCURSEL

#define PSM_SETCURSEL   (WM_USER+101)

Definition at line 167 of file prsht.h.

◆ PSM_SETCURSELID

#define PSM_SETCURSELID   1138

Definition at line 104 of file prsht.h.

◆ PSM_SETFINISHTEXT

#define PSM_SETFINISHTEXT   PSM_SETFINISHTEXTA

Definition at line 378 of file prsht.h.

◆ PSM_SETFINISHTEXTA

#define PSM_SETFINISHTEXTA   1139

Definition at line 106 of file prsht.h.

◆ PSM_SETFINISHTEXTW

#define PSM_SETFINISHTEXTW   1145

Definition at line 105 of file prsht.h.

◆ PSM_SETHEADERSUBTITLE

#define PSM_SETHEADERSUBTITLE   PSM_SETHEADERSUBTITLEA

Definition at line 380 of file prsht.h.

◆ PSM_SETHEADERTITLE

#define PSM_SETHEADERTITLE   PSM_SETHEADERTITLEA

Definition at line 379 of file prsht.h.

◆ PSM_SETTITLE

#define PSM_SETTITLE   PSM_SETTITLEA

Definition at line 377 of file prsht.h.

◆ PSM_SETTITLEA

#define PSM_SETTITLEA   (WM_USER+111)

Definition at line 168 of file prsht.h.

◆ PSM_SETTITLEW

#define PSM_SETTITLEW   (WM_USER+120)

Definition at line 169 of file prsht.h.

◆ PSM_SETWIZBUTTONS

#define PSM_SETWIZBUTTONS   (WM_USER+112)

Definition at line 157 of file prsht.h.

◆ PSM_UNCHANGED

#define PSM_UNCHANGED   (WM_USER+109)

Definition at line 159 of file prsht.h.

◆ PSN_APPLY

#define PSN_APPLY   (PSN_FIRST - 2)

Definition at line 117 of file prsht.h.

◆ PSN_FIRST

#define PSN_FIRST   (0U - 200U)

Definition at line 114 of file prsht.h.

◆ PSN_GETOBJECT

#define PSN_GETOBJECT   (PSN_FIRST - 10)

Definition at line 124 of file prsht.h.

◆ PSN_HELP

#define PSN_HELP   (PSN_FIRST - 5)

Definition at line 119 of file prsht.h.

◆ PSN_KILLACTIVE

#define PSN_KILLACTIVE   (PSN_FIRST - 1)

Definition at line 116 of file prsht.h.

◆ PSN_LAST

#define PSN_LAST   (PSN_FIRST - 99)

Definition at line 127 of file prsht.h.

◆ PSN_QUERYCANCEL

#define PSN_QUERYCANCEL   (PSN_FIRST - 9)

Definition at line 123 of file prsht.h.

◆ PSN_QUERYINITIALFOCUS

#define PSN_QUERYINITIALFOCUS   (PSN_FIRST - 13)

Definition at line 126 of file prsht.h.

◆ PSN_RESET

#define PSN_RESET   (PSN_FIRST - 3)

Definition at line 118 of file prsht.h.

◆ PSN_SETACTIVE

#define PSN_SETACTIVE   (PSN_FIRST - 0)

Definition at line 115 of file prsht.h.

◆ PSN_TRANSLATEACCELERATOR

#define PSN_TRANSLATEACCELERATOR   (PSN_FIRST - 12)

Definition at line 125 of file prsht.h.

◆ PSN_WIZBACK

#define PSN_WIZBACK   (PSN_FIRST - 6)

Definition at line 120 of file prsht.h.

◆ PSN_WIZFINISH

#define PSN_WIZFINISH   (PSN_FIRST - 8)

Definition at line 122 of file prsht.h.

◆ PSN_WIZNEXT

#define PSN_WIZNEXT   (PSN_FIRST - 7)

Definition at line 121 of file prsht.h.

◆ PSNRET_INVALID

#define PSNRET_INVALID   1

Definition at line 130 of file prsht.h.

◆ PSNRET_INVALID_NOCHANGEPAGE

#define PSNRET_INVALID_NOCHANGEPAGE   2

Definition at line 131 of file prsht.h.

◆ PSNRET_NOERROR

#define PSNRET_NOERROR   0

Definition at line 129 of file prsht.h.

◆ PSP_DEFAULT

#define PSP_DEFAULT   0

Definition at line 22 of file prsht.h.

◆ PSP_DLGINDIRECT

#define PSP_DLGINDIRECT   1

Definition at line 23 of file prsht.h.

◆ PSP_HASHELP

#define PSP_HASHELP   32

Definition at line 28 of file prsht.h.

◆ PSP_PREMATURE

#define PSP_PREMATURE   1024

Definition at line 31 of file prsht.h.

◆ PSP_RTLREADING

#define PSP_RTLREADING   16

Definition at line 27 of file prsht.h.

◆ PSP_USECALLBACK

#define PSP_USECALLBACK   128

Definition at line 30 of file prsht.h.

◆ PSP_USEHICON

#define PSP_USEHICON   2

Definition at line 24 of file prsht.h.

◆ PSP_USEICONID

#define PSP_USEICONID   4

Definition at line 25 of file prsht.h.

◆ PSP_USEREFPARENT

#define PSP_USEREFPARENT   64

Definition at line 29 of file prsht.h.

◆ PSP_USETITLE

#define PSP_USETITLE   8

Definition at line 26 of file prsht.h.

◆ PSPCB_ADDREF

#define PSPCB_ADDREF   0

Definition at line 171 of file prsht.h.

◆ PSPCB_CREATE

#define PSPCB_CREATE   2

Definition at line 38 of file prsht.h.

◆ PSPCB_RELEASE

#define PSPCB_RELEASE   1

Definition at line 37 of file prsht.h.

◆ PSWIZB_BACK

#define PSWIZB_BACK   1

Definition at line 153 of file prsht.h.

◆ PSWIZB_DISABLEDFINISH

#define PSWIZB_DISABLEDFINISH   8

Definition at line 156 of file prsht.h.

◆ PSWIZB_FINISH

#define PSWIZB_FINISH   4

Definition at line 155 of file prsht.h.

◆ PSWIZB_NEXT

#define PSWIZB_NEXT   2

Definition at line 154 of file prsht.h.

◆ SNDMSG

#define SNDMSG   SendMessage

Definition at line 17 of file prsht.h.

◆ WC_PROPSHEETA

#define WC_PROPSHEETA   "SysPropertySheet"

Definition at line 344 of file prsht.h.

◆ WIZ_BODYCX

#define WIZ_BODYCX   184

Definition at line 138 of file prsht.h.

◆ WIZ_BODYX

#define WIZ_BODYX   92

Definition at line 137 of file prsht.h.

◆ WIZ_CXBMP

#define WIZ_CXBMP   80

Definition at line 136 of file prsht.h.

◆ WIZ_CXDLG

#define WIZ_CXDLG   276

Definition at line 134 of file prsht.h.

◆ WIZ_CYDLG

#define WIZ_CYDLG   140

Definition at line 135 of file prsht.h.

Typedef Documentation

◆ LPCPROPSHEETHEADERA

Definition at line 271 of file prsht.h.

◆ LPCPROPSHEETHEADERW

Definition at line 306 of file prsht.h.

◆ LPCPROPSHEETPAGEA

Definition at line 199 of file prsht.h.

◆ LPCPROPSHEETPAGEA_LATEST

Definition at line 199 of file prsht.h.

◆ LPCPROPSHEETPAGEW

Definition at line 227 of file prsht.h.

◆ LPCPROPSHEETPAGEW_LATEST

Definition at line 227 of file prsht.h.

◆ LPFNADDPROPSHEETPAGE

typedef BOOL(CALLBACK * LPFNADDPROPSHEETPAGE) (HPROPSHEETPAGE, LPARAM)

Definition at line 309 of file prsht.h.

◆ LPFNADDPROPSHEETPAGES

typedef BOOL(CALLBACK * LPFNADDPROPSHEETPAGES) (LPVOID, LPFNADDPROPSHEETPAGE, LPARAM)

Definition at line 310 of file prsht.h.

◆ LPFNPSPCALLBACKA

typedef UINT(CALLBACK * LPFNPSPCALLBACKA) (HWND, UINT, LPPROPSHEETPAGEA)

Definition at line 232 of file prsht.h.

◆ LPFNPSPCALLBACKW

typedef UINT(CALLBACK * LPFNPSPCALLBACKW) (HWND, UINT, LPPROPSHEETPAGEW)

Definition at line 233 of file prsht.h.

◆ LPPROPSHEETHEADERA

◆ LPPROPSHEETHEADERW

◆ LPPROPSHEETPAGEA

◆ LPPROPSHEETPAGEA_LATEST

◆ LPPROPSHEETPAGEW

◆ LPPROPSHEETPAGEW_LATEST

◆ LPPSHNOTIFY

◆ PFNPROPSHEETCALLBACK

typedef int(CALLBACK * PFNPROPSHEETCALLBACK) (HWND, UINT, LPARAM)

Definition at line 234 of file prsht.h.

◆ PROPSHEETHEADERA

◆ PROPSHEETHEADERW

◆ PROPSHEETPAGEA

◆ PROPSHEETPAGEA_LATEST

◆ PROPSHEETPAGEW

◆ PROPSHEETPAGEW_LATEST

◆ PSHNOTIFY

Function Documentation

◆ CreatePropertySheetPageA()

HPROPSHEETPAGE WINAPI CreatePropertySheetPageA ( LPCPROPSHEETPAGEA  )

Definition at line 2991 of file propsheet.c.

2993 {
2994  PROPSHEETPAGEW *ppsp;
2995 
2996  if (lpPropSheetPage->dwSize < PROPSHEETPAGEA_V1_SIZE)
2997  return NULL;
2998 
2999  /* original data is used for callback notifications */
3000  if ((lpPropSheetPage->dwFlags & PSP_USECALLBACK) && lpPropSheetPage->pfnCallback)
3001  {
3002  ppsp = Alloc(2 * sizeof(*ppsp));
3003  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
3004  memcpy(ppsp + 1, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
3005  }
3006  else
3007  {
3008  ppsp = Alloc(sizeof(*ppsp));
3009  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
3010  }
3011 
3012  ppsp->dwFlags &= ~PSP_INTERNAL_UNICODE;
3013 
3014  if ( !(ppsp->dwFlags & PSP_DLGINDIRECT) )
3015  {
3016  if (!IS_INTRESOURCE( ppsp->u.pszTemplate ))
3017  {
3018  int len = strlen(lpPropSheetPage->u.pszTemplate) + 1;
3019  char *template = Alloc( len );
3020 
3021  ppsp->u.pszTemplate = (LPWSTR)strcpy( template, lpPropSheetPage->u.pszTemplate );
3022  }
3023  }
3024 
3025  if (ppsp->dwFlags & PSP_USEICONID)
3026  {
3027  if (!IS_INTRESOURCE( ppsp->u2.pszIcon ))
3028  ppsp->u2.pszIcon = heap_strdupAtoW( lpPropSheetPage->u2.pszIcon );
3029  }
3030 
3031  if (ppsp->dwFlags & PSP_USETITLE)
3032  {
3033  if (IS_INTRESOURCE( ppsp->pszTitle ))
3034  ppsp->pszTitle = load_string( ppsp->hInstance, ppsp->pszTitle );
3035  else
3036  ppsp->pszTitle = heap_strdupAtoW( lpPropSheetPage->pszTitle );
3037  }
3038  else
3039  ppsp->pszTitle = NULL;
3040 
3041  if (ppsp->dwFlags & PSP_HIDEHEADER)
3042  ppsp->dwFlags &= ~(PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE);
3043 
3044  if (ppsp->dwFlags & PSP_USEHEADERTITLE)
3045  {
3046  if (IS_INTRESOURCE( ppsp->pszHeaderTitle ))
3047  ppsp->pszHeaderTitle = load_string( ppsp->hInstance, ppsp->pszHeaderTitle );
3048  else
3049  ppsp->pszHeaderTitle = heap_strdupAtoW( lpPropSheetPage->pszHeaderTitle );
3050  }
3051  else
3052  ppsp->pszHeaderTitle = NULL;
3053 
3054  if (ppsp->dwFlags & PSP_USEHEADERSUBTITLE)
3055  {
3056  if (IS_INTRESOURCE( ppsp->pszHeaderSubTitle ))
3057  ppsp->pszHeaderSubTitle = load_string( ppsp->hInstance, ppsp->pszHeaderSubTitle );
3058  else
3059  ppsp->pszHeaderSubTitle = heap_strdupAtoW( lpPropSheetPage->pszHeaderSubTitle );
3060  }
3061  else
3062  ppsp->pszHeaderSubTitle = NULL;
3063 
3064  if ((ppsp->dwFlags & PSP_USECALLBACK) && ppsp->dwSize > PROPSHEETPAGEA_V1_SIZE && ppsp->pfnCallback)
3065  ppsp->pfnCallback(0, PSPCB_ADDREF, ppsp + 1);
3066 
3067  return (HPROPSHEETPAGE)ppsp;
3068 }
LPCWSTR pszTemplate
Definition: prsht.h:209
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
#define PSP_USEICONID
Definition: prsht.h:25
#define PSP_USECALLBACK
Definition: prsht.h:30
DWORD dwSize
Definition: prsht.h:205
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
smooth NULL
Definition: ftsmooth.c:416
LPCWSTR pszTitle
Definition: prsht.h:216
#define IS_INTRESOURCE(i)
Definition: winuser.h:580
#define PROPSHEETPAGEA_V1_SIZE
Definition: prsht.h:200
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
Definition: main.c:63
static WCHAR * heap_strdupAtoW(const char *str)
Definition: propsheet.c:186
HINSTANCE hInstance
Definition: prsht.h:207
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
GLenum GLsizei len
Definition: glext.h:6722
#define PSP_USETITLE
Definition: prsht.h:26
#define min(a, b)
Definition: monoChain.cc:55
#define PSP_INTERNAL_UNICODE
Definition: propsheet.c:146
#define PSPCB_ADDREF
Definition: prsht.h:171
char * strcpy(char *DstString, const char *SrcString)
Definition: utclib.c:388
LPCWSTR pszIcon
Definition: prsht.h:214
static LPWSTR load_string(HINSTANCE instance, LPCWSTR str)
Definition: propsheet.c:2941
WCHAR * LPWSTR
Definition: xmlstorage.h:184
DWORD dwFlags
Definition: prsht.h:206
#define PSP_DLGINDIRECT
Definition: prsht.h:23

Referenced by init_functions(), PropertySheetA(), and WINHELP_CreateIndexWindow().

◆ CreatePropertySheetPageW()

HPROPSHEETPAGE WINAPI CreatePropertySheetPageW ( LPCPROPSHEETPAGEW  )

Definition at line 3075 of file propsheet.c.

3076 {
3077  PROPSHEETPAGEW *ppsp;
3078 
3079  if (lpPropSheetPage->dwSize < PROPSHEETPAGEW_V1_SIZE)
3080  return NULL;
3081 
3082  /* original data is used for callback notifications */
3083  if ((lpPropSheetPage->dwFlags & PSP_USECALLBACK) && lpPropSheetPage->pfnCallback)
3084  {
3085  ppsp = Alloc(2 * sizeof(*ppsp));
3086  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3087  memcpy(ppsp + 1, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3088  }
3089  else
3090  {
3091  ppsp = Alloc(sizeof(*ppsp));
3092  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3093  }
3094 
3095  ppsp->dwFlags |= PSP_INTERNAL_UNICODE;
3096 
3097  if ( !(ppsp->dwFlags & PSP_DLGINDIRECT) )
3098  {
3099  if (!IS_INTRESOURCE( ppsp->u.pszTemplate ))
3100  ppsp->u.pszTemplate = heap_strdupW( lpPropSheetPage->u.pszTemplate );
3101  }
3102 
3103  if ( ppsp->dwFlags & PSP_USEICONID )
3104  {
3105  if (!IS_INTRESOURCE( ppsp->u2.pszIcon ))
3106  ppsp->u2.pszIcon = heap_strdupW( lpPropSheetPage->u2.pszIcon );
3107  }
3108 
3109  if (ppsp->dwFlags & PSP_USETITLE)
3110  ppsp->pszTitle = load_string( ppsp->hInstance, ppsp->pszTitle );
3111  else
3112  ppsp->pszTitle = NULL;
3113 
3114  if (ppsp->dwFlags & PSP_HIDEHEADER)
3115  ppsp->dwFlags &= ~(PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE);
3116 
3117  if (ppsp->dwFlags & PSP_USEHEADERTITLE)
3118  ppsp->pszHeaderTitle = load_string( ppsp->hInstance, ppsp->pszHeaderTitle );
3119  else
3120  ppsp->pszHeaderTitle = NULL;
3121 
3122  if (ppsp->dwFlags & PSP_USEHEADERSUBTITLE)
3123  ppsp->pszHeaderSubTitle = load_string( ppsp->hInstance, ppsp->pszHeaderSubTitle );
3124  else
3125  ppsp->pszHeaderSubTitle = NULL;
3126 
3127  if ((ppsp->dwFlags & PSP_USECALLBACK) && ppsp->dwSize > PROPSHEETPAGEW_V1_SIZE && ppsp->pfnCallback)
3128  ppsp->pfnCallback(0, PSPCB_ADDREF, ppsp + 1);
3129 
3130  return (HPROPSHEETPAGE)ppsp;
3131 }
LPCWSTR pszTemplate
Definition: prsht.h:209
#define PSP_USEICONID
Definition: prsht.h:25
#define PSP_USECALLBACK
Definition: prsht.h:30
DWORD dwSize
Definition: prsht.h:205
static WCHAR * heap_strdupW(const WCHAR *str)
Definition: propsheet.c:178
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
smooth NULL
Definition: ftsmooth.c:416
LPCWSTR pszTitle
Definition: prsht.h:216
#define IS_INTRESOURCE(i)
Definition: winuser.h:580
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
Definition: main.c:63
HINSTANCE hInstance
Definition: prsht.h:207
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define PSP_USETITLE
Definition: prsht.h:26
#define min(a, b)
Definition: monoChain.cc:55
#define PROPSHEETPAGEW_V1_SIZE
Definition: prsht.h:228
#define PSP_INTERNAL_UNICODE
Definition: propsheet.c:146
#define PSPCB_ADDREF
Definition: prsht.h:171
LPCWSTR pszIcon
Definition: prsht.h:214
static LPWSTR load_string(HINSTANCE instance, LPCWSTR str)
Definition: propsheet.c:2941
DWORD dwFlags
Definition: prsht.h:206
#define PSP_DLGINDIRECT
Definition: prsht.h:23

Referenced by init_functions(), InitializePropertySheetPage(), NetPropPageProvider(), OleCreatePropertyFrameIndirect(), ParallelPortPropPageProvider(), PropertySheetW(), PS2MousePropPageProvider(), SerialPortPropPageProvider(), and SH_CreatePropertySheetPage().

◆ DECLARE_HANDLE()

DECLARE_HANDLE ( HPROPSHEETPAGE  )

◆ DestroyPropertySheetPage()

BOOL WINAPI DestroyPropertySheetPage ( HPROPSHEETPAGE  )

Definition at line 3144 of file propsheet.c.

3145 {
3146  PROPSHEETPAGEW *psp = (PROPSHEETPAGEW *)hPropPage;
3147 
3148  if (!psp)
3149  return FALSE;
3150 
3151  if ((psp->dwFlags & PSP_USECALLBACK) && psp->pfnCallback)
3152  psp->pfnCallback(0, PSPCB_RELEASE, psp + 1);
3153 
3154  if (!(psp->dwFlags & PSP_DLGINDIRECT) && !IS_INTRESOURCE( psp->u.pszTemplate ))
3155  Free ((LPVOID)psp->u.pszTemplate);
3156 
3157  if ((psp->dwFlags & PSP_USEICONID) && !IS_INTRESOURCE( psp->u2.pszIcon ))
3158  Free ((LPVOID)psp->u2.pszIcon);
3159 
3160  if ((psp->dwFlags & PSP_USETITLE) && !IS_INTRESOURCE( psp->pszTitle ))
3161  Free ((LPVOID)psp->pszTitle);
3162 
3163  if ((psp->dwFlags & PSP_USEHEADERTITLE) && !IS_INTRESOURCE( psp->pszHeaderTitle ))
3164  Free ((LPVOID)psp->pszHeaderTitle);
3165 
3166  if ((psp->dwFlags & PSP_USEHEADERSUBTITLE) && !IS_INTRESOURCE( psp->pszHeaderSubTitle ))
3167  Free ((LPVOID)psp->pszHeaderSubTitle);
3168 
3169  Free(hPropPage);
3170 
3171  return TRUE;
3172 }
#define TRUE
Definition: types.h:120
LPCWSTR pszTemplate
Definition: prsht.h:209
#define PSP_USEICONID
Definition: prsht.h:25
#define PSP_USECALLBACK
Definition: prsht.h:30
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free
Definition: exfuncs.h:656
LPCWSTR pszTitle
Definition: prsht.h:216
#define PSPCB_RELEASE
Definition: prsht.h:37
#define IS_INTRESOURCE(i)
Definition: winuser.h:580
#define PSP_USETITLE
Definition: prsht.h:26
LPCWSTR pszIcon
Definition: prsht.h:214
DWORD dwFlags
Definition: prsht.h:206
#define PSP_DLGINDIRECT
Definition: prsht.h:23

Referenced by AddNetIdPage(), CLayerUIPropPage::AddPages(), CNetConnectionPropertyUi::AddPages(), CVfdShExt::AddPages(), BtrfsVolPropSheet::AddPages(), BtrfsPropSheet::AddPages(), INetCfgComponentPropertyUi_fnMergePropPages(), init_functions(), NetPropPageProvider(), ParallelPortPropPageProvider(), PropertySheetA(), PropertySheetW(), PROPSHEET_CleanUp(), PROPSHEET_RemovePage(), PropSheetExtProc(), PS2MousePropPageProvider(), and SerialPortPropPageProvider().

◆ PropertySheetA()

INT_PTR WINAPI PropertySheetA ( LPCPROPSHEETHEADERA  )

Definition at line 2864 of file propsheet.c.

2865 {
2866  PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2867  UINT i, n;
2868  const BYTE* pByte;
2869 
2870  TRACE("(%p)\n", lppsh);
2871 
2872  PROPSHEET_CollectSheetInfoA(lppsh, psInfo);
2873 
2874  psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2875  pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2876 
2877  for (n = i = 0; i < lppsh->nPages; i++, n++)
2878  {
2879  if (!psInfo->usePropPage)
2880  psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2881  else
2882  {
2884  pByte += ((LPCPROPSHEETPAGEA)pByte)->dwSize;
2885  }
2886 
2888  psInfo, n, TRUE))
2889  {
2890  if (psInfo->usePropPage)
2892  n--;
2893  psInfo->nPages--;
2894  }
2895  }
2896 
2897  return PROPSHEET_PropertySheet(psInfo, FALSE);
2898 }
#define TRUE
Definition: types.h:120
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
Definition: heapmem.c:368
LPCPROPSHEETPAGEW ppsp
Definition: prsht.h:290
#define GPTR
Definition: winbase.h:293
BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
Definition: propsheet.c:3144
PROPSHEETHEADERW ppshheader
Definition: propsheet.c:111
GLdouble n
Definition: glext.h:7729
static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, PropSheetInfo *psInfo, int index, BOOL resize)
Definition: propsheet.c:399
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
static void PROPSHEET_CollectSheetInfoA(LPCPROPSHEETHEADERA lppsh, PropSheetInfo *psInfo)
Definition: propsheet.c:317
#define TRACE(s)
Definition: solgame.cpp:4
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
Definition: main.c:63
#define for
Definition: utility.h:88
const PROPSHEETPAGEA * LPCPROPSHEETPAGEA
Definition: prsht.h:199
unsigned char BYTE
Definition: mem.h:68
HPROPSHEETPAGE * phpage
Definition: prsht.h:291
HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA lpPropSheetPage)
Definition: propsheet.c:2991
HPROPSHEETPAGE hpage
Definition: propsheet.c:99
unsigned int UINT
Definition: ndis.h:50
PropPageInfo * proppage
Definition: propsheet.c:123
static INT_PTR PROPSHEET_PropertySheet(PropSheetInfo *psInfo, BOOL unicode)
Definition: propsheet.c:2830

Referenced by init_functions(), and WINHELP_CreateIndexWindow().

◆ PropertySheetW()

INT_PTR WINAPI PropertySheetW ( LPCPROPSHEETHEADERW  )

Definition at line 2905 of file propsheet.c.

2906 {
2907  PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2908  UINT i, n;
2909  const BYTE* pByte;
2910 
2911  TRACE("(%p)\n", lppsh);
2912 
2913  PROPSHEET_CollectSheetInfoW(lppsh, psInfo);
2914 
2915  psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2916  pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2917 
2918  for (n = i = 0; i < lppsh->nPages; i++, n++)
2919  {
2920  if (!psInfo->usePropPage)
2921  psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2922  else
2923  {
2925  pByte += ((LPCPROPSHEETPAGEW)pByte)->dwSize;
2926  }
2927 
2929  psInfo, n, TRUE))
2930  {
2931  if (psInfo->usePropPage)
2933  n--;
2934  psInfo->nPages--;
2935  }
2936  }
2937 
2938  return PROPSHEET_PropertySheet(psInfo, TRUE);
2939 }
#define TRUE
Definition: types.h:120
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
Definition: heapmem.c:368
LPCPROPSHEETPAGEW ppsp
Definition: prsht.h:290
#define GPTR
Definition: winbase.h:293
BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
Definition: propsheet.c:3144
PROPSHEETHEADERW ppshheader
Definition: propsheet.c:111
GLdouble n
Definition: glext.h:7729
static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, PropSheetInfo *psInfo, int index, BOOL resize)
Definition: propsheet.c:399
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
static void PROPSHEET_CollectSheetInfoW(LPCPROPSHEETHEADERW lppsh, PropSheetInfo *psInfo)
Definition: propsheet.c:361
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
Definition: propsheet.c:3075
#define TRACE(s)
Definition: solgame.cpp:4
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
Definition: main.c:63
#define for
Definition: utility.h:88
unsigned char BYTE
Definition: mem.h:68
HPROPSHEETPAGE * phpage
Definition: prsht.h:291
const PROPSHEETPAGEW * LPCPROPSHEETPAGEW
Definition: prsht.h:227
HPROPSHEETPAGE hpage
Definition: propsheet.c:99
unsigned int UINT
Definition: ndis.h:50
PropPageInfo * proppage
Definition: propsheet.c:123
static INT_PTR PROPSHEET_PropertySheet(PropSheetInfo *psInfo, BOOL unicode)
Definition: propsheet.c:2830

Referenced by Applet(), CreatePropSheet(), CustomizeLocalePropertySheet(), dialog_viewproperties(), display_cpl_sheets(), EventLogProperties(), INetCfgComponent_fnRaisePropertyUi(), InitApplet(), LaunchAdvancedTcpipSettings(), OleCreatePropertyFrameIndirect(), PropSheetThread(), CZipExtract::runWizard(), SH_ShowDriveProperties(), SH_ShowPropertiesDialog(), SH_ShowRecycleBinProperties(), show_cert_dialog(), show_edit_cert_properties_dialog(), show_export_ui(), show_import_ui(), ShowFolderOptionsDialog(), ShowNetConnectionProperties(), ShowPropSheetW(), ShowStatusPropertyDialog(), SystemApplet(), and wmain().

Variable Documentation

◆ WC_PROPSHEETW

const WCHAR WC_PROPSHEETW[]
static
Initial value:
= { 'S','y','s',
'P','r','o','p','e','r','t','y','S','h','e','e','t',0 }

Definition at line 351 of file prsht.h.

Referenced by SPY_GetClassName().