ReactOS 0.4.15-dev-8241-g63935f8
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 254 of file prsht.h.

◆ CreatePropertySheetPage

#define CreatePropertySheetPage   CreatePropertySheetPageA

Definition at line 399 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 394 of file prsht.h.

◆ LPCPROPSHEETPAGE

#define LPCPROPSHEETPAGE   LPCPROPSHEETPAGEA

Definition at line 391 of file prsht.h.

◆ LPFNPSPCALLBACK

#define LPFNPSPCALLBACK   LPFNPSPCALLBACKA

Definition at line 388 of file prsht.h.

◆ LPPROPSHEETHEADER

#define LPPROPSHEETHEADER   LPPROPSHEETHEADERA

Definition at line 393 of file prsht.h.

◆ LPPROPSHEETPAGE

#define LPPROPSHEETPAGE   LPPROPSHEETPAGEA

Definition at line 390 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 400 of file prsht.h.

◆ PropSheet_AddPage

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

Definition at line 341 of file prsht.h.

◆ PropSheet_Apply

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

Definition at line 342 of file prsht.h.

◆ PropSheet_CancelToClose

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

Definition at line 343 of file prsht.h.

◆ PropSheet_Changed

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

Definition at line 344 of file prsht.h.

◆ PropSheet_GetCurrentPageHwnd

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

Definition at line 345 of file prsht.h.

◆ PropSheet_GetTabControl

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

Definition at line 346 of file prsht.h.

◆ PropSheet_IsDialogMessage

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

Definition at line 347 of file prsht.h.

◆ PropSheet_PressButton

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

Definition at line 348 of file prsht.h.

◆ PropSheet_QuerySiblings

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

Definition at line 349 of file prsht.h.

◆ PropSheet_RebootSystem

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

Definition at line 350 of file prsht.h.

◆ PropSheet_RecalcPageSizes

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

Definition at line 359 of file prsht.h.

◆ PropSheet_RemovePage

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

Definition at line 351 of file prsht.h.

◆ PropSheet_RestartWindows

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

Definition at line 352 of file prsht.h.

◆ PropSheet_SetCurSel

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

Definition at line 353 of file prsht.h.

◆ PropSheet_SetCurSelByID

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

Definition at line 354 of file prsht.h.

◆ PropSheet_SetFinishText

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

Definition at line 355 of file prsht.h.

◆ PropSheet_SetTitle

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

Definition at line 356 of file prsht.h.

◆ PropSheet_SetWizButtons

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

Definition at line 357 of file prsht.h.

◆ PropSheet_UnChanged

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

Definition at line 358 of file prsht.h.

◆ PROPSHEETHEADER

#define PROPSHEETHEADER   PROPSHEETHEADERA

Definition at line 392 of file prsht.h.

◆ PROPSHEETHEADERA_V1_SIZE

#define PROPSHEETHEADERA_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETHEADERA, pfnCallback)

Definition at line 290 of file prsht.h.

◆ PROPSHEETHEADERA_V2_SIZE

#define PROPSHEETHEADERA_V2_SIZE   sizeof(PROPSHEETHEADERA)

Definition at line 291 of file prsht.h.

◆ PROPSHEETHEADERW_V1_SIZE

#define PROPSHEETHEADERW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETHEADERW, pfnCallback)

Definition at line 325 of file prsht.h.

◆ PROPSHEETHEADERW_V2_SIZE

#define PROPSHEETHEADERW_V2_SIZE   sizeof(PROPSHEETHEADERW)

Definition at line 326 of file prsht.h.

◆ PROPSHEETPAGE

#define PROPSHEETPAGE   PROPSHEETPAGEA

Definition at line 389 of file prsht.h.

◆ PROPSHEETPAGEA_V1_SIZE

#define PROPSHEETPAGEA_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pcRefParent)

Definition at line 209 of file prsht.h.

◆ PROPSHEETPAGEA_V2_SIZE

#define PROPSHEETPAGEA_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pszHeaderSubTitle)

Definition at line 210 of file prsht.h.

◆ PROPSHEETPAGEA_V3_SIZE

#define PROPSHEETPAGEA_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, hActCtx)

Definition at line 211 of file prsht.h.

◆ PROPSHEETPAGEA_V4_SIZE

#define PROPSHEETPAGEA_V4_SIZE   sizeof(PROPSHEETPAGEA)

Definition at line 212 of file prsht.h.

◆ PROPSHEETPAGEW_V1_SIZE

#define PROPSHEETPAGEW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pcRefParent)

Definition at line 246 of file prsht.h.

◆ PROPSHEETPAGEW_V2_SIZE

#define PROPSHEETPAGEW_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pszHeaderSubTitle)

Definition at line 247 of file prsht.h.

◆ PROPSHEETPAGEW_V3_SIZE

#define PROPSHEETPAGEW_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, hActCtx)

Definition at line 248 of file prsht.h.

◆ PROPSHEETPAGEW_V4_SIZE

#define PROPSHEETPAGEW_V4_SIZE   sizeof(PROPSHEETPAGEW)

Definition at line 249 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 396 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 398 of file prsht.h.

◆ PSM_SETHEADERTITLE

#define PSM_SETHEADERTITLE   PSM_SETHEADERTITLEA

Definition at line 397 of file prsht.h.

◆ PSM_SETTITLE

#define PSM_SETTITLE   PSM_SETTITLEA

Definition at line 395 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 362 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 289 of file prsht.h.

◆ LPCPROPSHEETHEADERW

Definition at line 324 of file prsht.h.

◆ LPCPROPSHEETPAGEA

Definition at line 208 of file prsht.h.

◆ LPCPROPSHEETPAGEA_LATEST

Definition at line 208 of file prsht.h.

◆ LPCPROPSHEETPAGEW

Definition at line 245 of file prsht.h.

◆ LPCPROPSHEETPAGEW_LATEST

Definition at line 245 of file prsht.h.

◆ LPFNADDPROPSHEETPAGE

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

Definition at line 327 of file prsht.h.

◆ LPFNADDPROPSHEETPAGES

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

Definition at line 328 of file prsht.h.

◆ LPFNPSPCALLBACKA

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

Definition at line 250 of file prsht.h.

◆ LPFNPSPCALLBACKW

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

Definition at line 251 of file prsht.h.

◆ LPPROPSHEETHEADERA

◆ LPPROPSHEETHEADERW

◆ LPPROPSHEETPAGEA

◆ LPPROPSHEETPAGEA_LATEST

◆ LPPROPSHEETPAGEW

◆ LPPROPSHEETPAGEW_LATEST

◆ LPPSHNOTIFY

◆ PFNPROPSHEETCALLBACK

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

Definition at line 252 of file prsht.h.

◆ PROPSHEETHEADERA

◆ PROPSHEETHEADERW

◆ PROPSHEETPAGEA

◆ PROPSHEETPAGEA_LATEST

◆ PROPSHEETPAGEW

◆ PROPSHEETPAGEW_LATEST

◆ PSHNOTIFY

Function Documentation

◆ CreatePropertySheetPageA()

HPROPSHEETPAGE WINAPI CreatePropertySheetPageA ( LPCPROPSHEETPAGEA  lpPropSheetPage)

Definition at line 2999 of file propsheet.c.

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

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

◆ CreatePropertySheetPageW()

HPROPSHEETPAGE WINAPI CreatePropertySheetPageW ( LPCPROPSHEETPAGEW  lpPropSheetPage)

Definition at line 3083 of file propsheet.c.

3084{
3085 PROPSHEETPAGEW *ppsp;
3086
3087 if (lpPropSheetPage->dwSize < PROPSHEETPAGEW_V1_SIZE)
3088 return NULL;
3089
3090 /* original data is used for callback notifications */
3091 if ((lpPropSheetPage->dwFlags & PSP_USECALLBACK) && lpPropSheetPage->pfnCallback)
3092 {
3093 ppsp = Alloc(2 * sizeof(*ppsp));
3094 memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3095 memcpy(ppsp + 1, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3096 }
3097 else
3098 {
3099 ppsp = Alloc(sizeof(*ppsp));
3100 memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3101 }
3102
3104
3105 if ( !(ppsp->dwFlags & PSP_DLGINDIRECT) )
3106 {
3107 if (!IS_INTRESOURCE( ppsp->u.pszTemplate ))
3108 ppsp->u.pszTemplate = heap_strdupW( lpPropSheetPage->u.pszTemplate );
3109 }
3110
3111 if ( ppsp->dwFlags & PSP_USEICONID )
3112 {
3113 if (!IS_INTRESOURCE( ppsp->u2.pszIcon ))
3114 ppsp->u2.pszIcon = heap_strdupW( lpPropSheetPage->u2.pszIcon );
3115 }
3116
3117 if (ppsp->dwFlags & PSP_USETITLE)
3118 ppsp->pszTitle = load_string( ppsp->hInstance, ppsp->pszTitle );
3119 else
3120 ppsp->pszTitle = NULL;
3121
3122 if (ppsp->dwFlags & PSP_HIDEHEADER)
3123 ppsp->dwFlags &= ~(PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE);
3124
3125 if (ppsp->dwFlags & PSP_USEHEADERTITLE)
3126 ppsp->pszHeaderTitle = load_string( ppsp->hInstance, ppsp->pszHeaderTitle );
3127 else
3128 ppsp->pszHeaderTitle = NULL;
3129
3130 if (ppsp->dwFlags & PSP_USEHEADERSUBTITLE)
3131 ppsp->pszHeaderSubTitle = load_string( ppsp->hInstance, ppsp->pszHeaderSubTitle );
3132 else
3133 ppsp->pszHeaderSubTitle = NULL;
3134
3135 if ((ppsp->dwFlags & PSP_USECALLBACK) && ppsp->dwSize > PROPSHEETPAGEW_V1_SIZE && ppsp->pfnCallback)
3136 ppsp->pfnCallback(0, PSPCB_ADDREF, ppsp + 1);
3137
3138 return (HPROPSHEETPAGE)ppsp;
3139}
#define PSP_INTERNAL_UNICODE
Definition: propsheet.c:146
static WCHAR * heap_strdupW(const WCHAR *str)
Definition: propsheet.c:178
#define PROPSHEETPAGEW_V1_SIZE
Definition: prsht.h:246

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

◆ DECLARE_HANDLE()

DECLARE_HANDLE ( HPROPSHEETPAGE  )

◆ DestroyPropertySheetPage()

BOOL WINAPI DestroyPropertySheetPage ( HPROPSHEETPAGE  hPropPage)

Definition at line 3152 of file propsheet.c.

3153{
3154 PROPSHEETPAGEW *psp = (PROPSHEETPAGEW *)hPropPage;
3155
3156 if (!psp)
3157 return FALSE;
3158
3159 if ((psp->dwFlags & PSP_USECALLBACK) && psp->pfnCallback)
3160 psp->pfnCallback(0, PSPCB_RELEASE, psp + 1);
3161
3162 if (!(psp->dwFlags & PSP_DLGINDIRECT) && !IS_INTRESOURCE( psp->u.pszTemplate ))
3163 Free ((LPVOID)psp->u.pszTemplate);
3164
3165 if ((psp->dwFlags & PSP_USEICONID) && !IS_INTRESOURCE( psp->u2.pszIcon ))
3166 Free ((LPVOID)psp->u2.pszIcon);
3167
3168 if ((psp->dwFlags & PSP_USETITLE) && !IS_INTRESOURCE( psp->pszTitle ))
3169 Free ((LPVOID)psp->pszTitle);
3170
3171 if ((psp->dwFlags & PSP_USEHEADERTITLE) && !IS_INTRESOURCE( psp->pszHeaderTitle ))
3172 Free ((LPVOID)psp->pszHeaderTitle);
3173
3174 if ((psp->dwFlags & PSP_USEHEADERSUBTITLE) && !IS_INTRESOURCE( psp->pszHeaderSubTitle ))
3175 Free ((LPVOID)psp->pszHeaderSubTitle);
3176
3177 Free(hPropPage);
3178
3179 return TRUE;
3180}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define PSPCB_RELEASE
Definition: prsht.h:37
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free
Definition: exfuncs.h:815

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

◆ PropertySheetA()

INT_PTR WINAPI PropertySheetA ( LPCPROPSHEETHEADERA  lppsh)

Definition at line 2872 of file propsheet.c.

2873{
2874 PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2875 UINT i, n;
2876 const BYTE* pByte;
2877
2878 TRACE("(%p)\n", lppsh);
2879
2880 PROPSHEET_CollectSheetInfoA(lppsh, psInfo);
2881
2882 psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2883 pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2884
2885 for (n = i = 0; i < lppsh->nPages; i++, n++)
2886 {
2887 if (!psInfo->usePropPage)
2888 psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2889 else
2890 {
2892 pByte += ((LPCPROPSHEETPAGEA)pByte)->dwSize;
2893 }
2894
2896 psInfo, n, TRUE))
2897 {
2898 if (psInfo->usePropPage)
2900 n--;
2901 psInfo->nPages--;
2902 }
2903 }
2904
2905 return PROPSHEET_PropertySheet(psInfo, FALSE);
2906}
static void PROPSHEET_CollectSheetInfoA(LPCPROPSHEETHEADERA lppsh, PropSheetInfo *psInfo)
Definition: propsheet.c:317
static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, PropSheetInfo *psInfo, int index, BOOL resize)
Definition: propsheet.c:399
static INT_PTR PROPSHEET_PropertySheet(PropSheetInfo *psInfo, BOOL unicode)
Definition: propsheet.c:2838
HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA lpPropSheetPage)
Definition: propsheet.c:2999
BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
Definition: propsheet.c:3152
GLdouble n
Definition: glext.h:7729
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
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
Definition: heapmem.c:368
#define for
Definition: utility.h:88
unsigned int UINT
Definition: ndis.h:50
const PROPSHEETPAGEA * LPCPROPSHEETPAGEA
Definition: prsht.h:208
#define TRACE(s)
Definition: solgame.cpp:4
LPCPROPSHEETPAGEW ppsp
Definition: prsht.h:308
HPROPSHEETPAGE * phpage
Definition: prsht.h:309
HPROPSHEETPAGE hpage
Definition: propsheet.c:99
PropPageInfo * proppage
Definition: propsheet.c:123
PROPSHEETHEADERW ppshheader
Definition: propsheet.c:111
#define GPTR
Definition: winbase.h:296
unsigned char BYTE
Definition: xxhash.c:193

Referenced by init_functions(), and WINHELP_CreateIndexWindow().

◆ PropertySheetW()

INT_PTR WINAPI PropertySheetW ( LPCPROPSHEETHEADERW  lppsh)

Definition at line 2913 of file propsheet.c.

2914{
2915 PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2916 UINT i, n;
2917 const BYTE* pByte;
2918
2919 TRACE("(%p)\n", lppsh);
2920
2921 PROPSHEET_CollectSheetInfoW(lppsh, psInfo);
2922
2923 psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2924 pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2925
2926 for (n = i = 0; i < lppsh->nPages; i++, n++)
2927 {
2928 if (!psInfo->usePropPage)
2929 psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2930 else
2931 {
2933 pByte += ((LPCPROPSHEETPAGEW)pByte)->dwSize;
2934 }
2935
2937 psInfo, n, TRUE))
2938 {
2939 if (psInfo->usePropPage)
2941 n--;
2942 psInfo->nPages--;
2943 }
2944 }
2945
2946 return PROPSHEET_PropertySheet(psInfo, TRUE);
2947}
static void PROPSHEET_CollectSheetInfoW(LPCPROPSHEETHEADERW lppsh, PropSheetInfo *psInfo)
Definition: propsheet.c:361
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
Definition: propsheet.c:3083
const PROPSHEETPAGEW * LPCPROPSHEETPAGEW
Definition: prsht.h:245

Referenced by Applet(), CreatePropSheet(), CustomizeLocalePropertySheet(), dialog_viewproperties(), display_cpl_sheets(), EventLogProperties(), INetCfgComponent_fnRaisePropertyUi(), InitApplet(), LaunchAdvancedTcpipSettings(), MmSysApplet(), OleCreatePropertyFrameIndirect(), PropSheetThread(), CZipExtract::runWizard(), SH_ShowDriveProperties(), SH_ShowPropertiesDialog(), SH_ShowRecycleBinProperties(), show_cert_dialog(), show_edit_cert_properties_dialog(), show_export_ui(), show_import_ui(), ShowAudioPropertySheet(), ShowFolderOptionsDialogThreadProc(), ShowFullControlPanel(), ShowNetConnectionProperties(), ShowPropSheetW(), ShowStatusPropertyDialog(), SpeakerVolume(), 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 369 of file prsht.h.

Referenced by SPY_GetClassName().