ReactOS  r76032
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

#define _HPROPSHEETPAGE_DEFINED

Definition at line 236 of file prsht.h.

#define ID_PSREBOOTSYSTEM   3

Definition at line 133 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define ID_PSRESTARTWINDOWS   2

Definition at line 132 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define LPCPROPSHEETHEADER   LPCPROPSHEETHEADERA

Definition at line 376 of file prsht.h.

#define LPCPROPSHEETPAGE   LPCPROPSHEETPAGEA

Definition at line 373 of file prsht.h.

Referenced by DisplayAdapterDlgProc(), PropertySheetDialog::DoModal(), and MonitorDlgProc().

#define LPFNPSPCALLBACK   LPFNPSPCALLBACKA

Definition at line 370 of file prsht.h.

#define LPPROPSHEETHEADER   LPPROPSHEETHEADERA

Definition at line 375 of file prsht.h.

#define MAXPROPPAGES   100

Definition at line 21 of file prsht.h.

#define PROP_LG_CXDLG   252

Definition at line 143 of file prsht.h.

#define PROP_LG_CYDLG   218

Definition at line 144 of file prsht.h.

#define PROP_MED_CXDLG   227

Definition at line 141 of file prsht.h.

#define PROP_MED_CYDLG   215

Definition at line 142 of file prsht.h.

#define PROP_SM_CXDLG   212

Definition at line 139 of file prsht.h.

#define PROP_SM_CYDLG   188

Definition at line 140 of file prsht.h.

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

Definition at line 323 of file prsht.h.

Referenced by UpdateDevInfo().

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

Definition at line 324 of file prsht.h.

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

Definition at line 325 of file prsht.h.

Referenced by CommonWndProc(), and ServicesPageWndProc().

#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)

Definition at line 328 of file prsht.h.

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

Definition at line 329 of file prsht.h.

Referenced by _tWinMain(), and PropertySheetDialog::DoModal().

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

Definition at line 330 of file prsht.h.

Referenced by DisableNetworkAdapter(), FinishDlgProc(), ProcessPageDlgProc(), and RestartDlgProc().

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

Definition at line 331 of file prsht.h.

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

Definition at line 332 of file prsht.h.

Referenced by ApplyGeneralSettings(), and CommonWndProc().

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

Definition at line 341 of file prsht.h.

Referenced by UpdateDevInfo().

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

Definition at line 333 of file prsht.h.

Referenced by UpdateDevInfo().

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

Definition at line 334 of file prsht.h.

Referenced by ApplyDisplayAdapterChanges(), and ApplyMonitorChanges().

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

Definition at line 335 of file prsht.h.

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

Definition at line 337 of file prsht.h.

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

Definition at line 338 of file prsht.h.

Referenced by UpdateDevInfo().

#define PROPSHEETHEADERA_V2_SIZE   sizeof(PROPSHEETHEADERA)

Definition at line 273 of file prsht.h.

#define PROPSHEETHEADERW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETHEADERW, pfnCallback)

Definition at line 307 of file prsht.h.

#define PROPSHEETHEADERW_V2_SIZE   sizeof(PROPSHEETHEADERW)

Definition at line 308 of file prsht.h.

#define PROPSHEETPAGEA_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pcRefParent)
#define PROPSHEETPAGEA_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, pszHeaderSubTitle)

Definition at line 201 of file prsht.h.

#define PROPSHEETPAGEA_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEA, hActCtx)

Definition at line 202 of file prsht.h.

#define PROPSHEETPAGEA_V4_SIZE   sizeof(PROPSHEETPAGEA)

Definition at line 203 of file prsht.h.

Referenced by test_CreatePropertySheetPage().

#define PROPSHEETPAGEW_V1_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pcRefParent)
#define PROPSHEETPAGEW_V2_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, pszHeaderSubTitle)

Definition at line 229 of file prsht.h.

#define PROPSHEETPAGEW_V3_SIZE   CCSIZEOF_STRUCT(PROPSHEETPAGEW, hActCtx)

Definition at line 230 of file prsht.h.

#define PROPSHEETPAGEW_V4_SIZE   sizeof(PROPSHEETPAGEW)

Definition at line 231 of file prsht.h.

Referenced by test_CreatePropertySheetPage().

#define PSBTN_APPLYNOW   4

Definition at line 150 of file prsht.h.

Referenced by PROPSHEET_PressButton().

#define PSBTN_BACK   0

Definition at line 146 of file prsht.h.

Referenced by PROPSHEET_PressButton(), and test_wiznavigation().

#define PSBTN_CANCEL   5

Definition at line 151 of file prsht.h.

Referenced by DisableNetworkAdapter(), and PROPSHEET_PressButton().

#define PSBTN_FINISH   2

Definition at line 148 of file prsht.h.

Referenced by FinishDlgProc(), PROPSHEET_PressButton(), and RestartDlgProc().

#define PSBTN_HELP   6

Definition at line 152 of file prsht.h.

Referenced by PROPSHEET_PressButton().

#define PSBTN_MAX   6

Definition at line 145 of file prsht.h.

#define PSBTN_NEXT   1

Definition at line 147 of file prsht.h.

Referenced by ProcessPageDlgProc(), PROPSHEET_PressButton(), and test_wiznavigation().

#define PSBTN_OK   3

Definition at line 149 of file prsht.h.

Referenced by PROPSHEET_PressButton(), and WINHELP_IndexDlgProc().

#define PSCB_PRECREATE   2

Definition at line 76 of file prsht.h.

Referenced by PROPSHEET_CreateDialog(), PropSheetCallback(), and sheet_callback().

#define PSH_DEFAULT   0

Definition at line 39 of file prsht.h.

Referenced by EditSecurity().

#define PSH_HASHELP   512

Definition at line 49 of file prsht.h.

Referenced by CreatePropSheet(), EventLogProperties(), and PROPSHEET_CollectSheetInfoCommon().

#define PSH_RTLREADING   2048

Definition at line 51 of file prsht.h.

Referenced by PROPSHEET_UnImplementedFlags().

#define PSH_USEHICON   2

Definition at line 41 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSH_USEPSTARTPAGE   64

Definition at line 46 of file prsht.h.

Referenced by PROPSHEET_CollectSheetInfoA(), and PROPSHEET_CollectSheetInfoW().

#define PSH_WIZARD   32
#define PSH_WIZARDCONTEXTHELP   4096

Definition at line 52 of file prsht.h.

Referenced by PROPSHEET_CreateDialog().

#define PSH_WIZARDHASFINISH   16

Definition at line 44 of file prsht.h.

Referenced by PROPSHEET_CollectSheetInfoCommon().

#define PSM_ADDPAGE   (WM_USER+103)

Definition at line 165 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), and test_PSM_ADDPAGE().

#define PSM_APPLY   (WM_USER+110)

Definition at line 158 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_CANCELTOCLOSE   (WM_USER+107)

Definition at line 161 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_GETCURRENTPAGEHWND   1142

Definition at line 81 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), test_custom_default_button(), and test_nopage().

#define PSM_GETTABCONTROL   1140

Definition at line 80 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), test_PSM_ADDPAGE(), and test_PSM_INSERTPAGE().

#define PSM_ISDIALOGMESSAGE   1141

Definition at line 96 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), and test_custom_default_button().

#define PSM_PRESSBUTTON   1137

Definition at line 100 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), test_wiznavigation(), and WINHELP_IndexDlgProc().

#define PSM_QUERYSIBLINGS   (WM_USER+108)

Definition at line 160 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), and PROPSHEET_QuerySiblings().

#define PSM_REBOOTSYSTEM   (WM_USER+106)

Definition at line 162 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_REMOVEPAGE   (WM_USER+102)

Definition at line 166 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), TcpipBasicDlg(), and test_nopage().

#define PSM_RESTARTWINDOWS   (WM_USER+105)

Definition at line 163 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_SETCURSEL   (WM_USER+101)

Definition at line 167 of file prsht.h.

Referenced by PROPSHEET_DialogProc(), test_PSM_ADDPAGE(), and test_PSM_INSERTPAGE().

#define PSM_SETCURSELID   1138

Definition at line 104 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_SETFINISHTEXT   PSM_SETFINISHTEXTA

Definition at line 378 of file prsht.h.

#define PSM_SETFINISHTEXTA   1139

Definition at line 106 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_SETFINISHTEXTW   1145

Definition at line 105 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_SETHEADERSUBTITLE   PSM_SETHEADERSUBTITLEA

Definition at line 380 of file prsht.h.

#define PSM_SETHEADERTITLE   PSM_SETHEADERTITLEA

Definition at line 379 of file prsht.h.

#define PSM_SETTITLE   PSM_SETTITLEA

Definition at line 377 of file prsht.h.

#define PSM_SETTITLEA   (WM_USER+111)

Definition at line 168 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_SETTITLEW   (WM_USER+120)

Definition at line 169 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSM_UNCHANGED   (WM_USER+109)

Definition at line 159 of file prsht.h.

Referenced by PROPSHEET_DialogProc().

#define PSN_APPLY   (PSN_FIRST - 2)

Definition at line 117 of file prsht.h.

Referenced by AdvancedDlgProc(), AdvancedPageProc(), AdvProcDetailsDlgProc(), AdvProcDriverDlgProc(), AdvPropGeneralDlgProc(), AppearancePageProc(), BackgroundPageProc(), ButtonProc(), cert_properties_general_dlg_proc(), ColorsProc(), CommonWndProc(), CurrencyPageProc(), DatePageProc(), DateTimePageProc(), DisplayAdapterDlgProc(), DisplayPageProc(), FolderOptionsGeneralDlg(), FolderOptionsViewDlg(), FontProc(), formatopts_proc(), general_on_notify(), CDrvDefExt::GeneralPageProc(), GeneralPageProc(), CFileDefExt::GeneralPageProc(), GeneralPageWndProc(), GroupGeneralPageProc(), HibernateDlgProc(), InetTimePageProc(), KeyboardPageProc(), KeyboardSpeedProc(), CNetConnectionPropertyUi::LANPropertiesUIDlg(), LANStatusUiDlg(), LogonPageProc(), MonitorDlgProc(), MousePageProc(), NetIDPageProc(), DesktopSettingsDlg::Notify(), TaskbarSettingsDlg::Notify(), NumbersPageProc(), OnNotifySettingsPage(), OptionProc(), OptionsProc(), page_dlg_proc(), PointerProc(), PowerSchemesDlgProc(), CLayerUIPropPage::PropDlgProc(), PROPSHEET_Apply(), PropSheetDlgProc(), RecoveryPageProc(), RecycleBinDlg(), ScreenSaverPageProc(), security_on_notify(), ServicesPageWndProc(), SettingsPageProc(), CShellLink::SH_ShellLinkDlgProc(), SortPageProc(), SoundPageProc(), SoundsDlgProc(), StartMenuPageProc(), SystemPageWndProc(), TaskbarPageProc(), TcpipAdvancedDnsDlg(), TcpipAdvancedIpDlg(), TcpipBasicDlg(), TimePageProc(), TimeZonePageProc(), ToolsPageWndProc(), UserGeneralPageProc(), UserMembershipPageProc(), UserProfilePageProc(), VolumeDlgProc(), WheelProc(), WINHELP_IndexDlgProc(), WINHELP_SearchDlgProc(), and WinPageWndProc().

#define PSN_FIRST   (0U - 200U)

Definition at line 114 of file prsht.h.

#define PSN_GETOBJECT   (PSN_FIRST - 10)

Definition at line 124 of file prsht.h.

#define PSN_HELP   (PSN_FIRST - 5)
#define PSN_LAST   (PSN_FIRST - 99)

Definition at line 127 of file prsht.h.

#define PSN_QUERYINITIALFOCUS   (PSN_FIRST - 13)

Definition at line 126 of file prsht.h.

#define PSN_TRANSLATEACCELERATOR   (PSN_FIRST - 12)

Definition at line 125 of file prsht.h.

#define PSP_HASHELP   32

Definition at line 28 of file prsht.h.

Referenced by CreatePropSheet(), EventLogProperties(), and PROPSHEET_CollectPageInfo().

#define PSP_PREMATURE   1024

Definition at line 31 of file prsht.h.

Referenced by PROPSHEET_InsertPage(), test_PSM_ADDPAGE(), and test_PSM_INSERTPAGE().

#define PSP_RTLREADING   16

Definition at line 27 of file prsht.h.

#define PSP_USEHICON   2

Definition at line 24 of file prsht.h.

Referenced by PROPSHEET_CollectPageInfo().

#define PSP_USEICONID   4
#define PSP_USEREFPARENT   64
#define PSPCB_ADDREF   0
#define PSPCB_CREATE   2

Definition at line 38 of file prsht.h.

Referenced by PROPSHEET_CreatePage(), SecurityPageCallback(), and SettingsPageCallbackProc().

#define PSWIZB_DISABLEDFINISH   8

Definition at line 156 of file prsht.h.

Referenced by PROPSHEET_SetWizButtons().

#define SNDMSG   SendMessage

Definition at line 17 of file prsht.h.

#define WC_PROPSHEETA   "SysPropertySheet"

Definition at line 344 of file prsht.h.

#define WIZ_BODYCX   184

Definition at line 138 of file prsht.h.

#define WIZ_BODYX   92

Definition at line 137 of file prsht.h.

#define WIZ_CXBMP   80

Definition at line 136 of file prsht.h.

#define WIZ_CXDLG   276

Definition at line 134 of file prsht.h.

#define WIZ_CYDLG   140

Definition at line 135 of file prsht.h.

Typedef Documentation

Definition at line 271 of file prsht.h.

Definition at line 306 of file prsht.h.

Definition at line 199 of file prsht.h.

Definition at line 199 of file prsht.h.

Definition at line 227 of file prsht.h.

Definition at line 227 of file prsht.h.

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

Definition at line 309 of file prsht.h.

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

Definition at line 310 of file prsht.h.

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

Definition at line 232 of file prsht.h.

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

Definition at line 233 of file prsht.h.

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

Definition at line 234 of file prsht.h.

Function Documentation

HPROPSHEETPAGE WINAPI CreatePropertySheetPageA ( LPCPROPSHEETPAGEA  )

Definition at line 2973 of file propsheet.c.

Referenced by PropertySheetA(), test_buttons(), test_CreatePropertySheetPage(), test_disableowner(), test_messages(), test_nopage(), test_PSM_ADDPAGE(), test_PSM_INSERTPAGE(), test_title(), test_wiznavigation(), and WINHELP_CreateIndexWindow().

2975 {
2976  PROPSHEETPAGEW *ppsp;
2977 
2978  if (lpPropSheetPage->dwSize < PROPSHEETPAGEA_V1_SIZE)
2979  return NULL;
2980 
2981  /* original data is used for callback notifications */
2982  if ((lpPropSheetPage->dwFlags & PSP_USECALLBACK) && lpPropSheetPage->pfnCallback)
2983  {
2984  ppsp = Alloc(2 * sizeof(*ppsp));
2985  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
2986  memcpy(ppsp + 1, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
2987  }
2988  else
2989  {
2990  ppsp = Alloc(sizeof(*ppsp));
2991  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
2992  }
2993 
2994  ppsp->dwFlags &= ~PSP_INTERNAL_UNICODE;
2995 
2996  if ( !(ppsp->dwFlags & PSP_DLGINDIRECT) )
2997  {
2998  if (!IS_INTRESOURCE( ppsp->u.pszTemplate ))
2999  {
3000  int len = strlen(lpPropSheetPage->u.pszTemplate) + 1;
3001  char *template = Alloc( len );
3002 
3003  ppsp->u.pszTemplate = (LPWSTR)strcpy( template, lpPropSheetPage->u.pszTemplate );
3004  }
3005  }
3006 
3007  if (ppsp->dwFlags & PSP_USEICONID)
3008  {
3009  if (!IS_INTRESOURCE( ppsp->u2.pszIcon ))
3010  ppsp->u2.pszIcon = heap_strdupAtoW( lpPropSheetPage->u2.pszIcon );
3011  }
3012 
3013  if (ppsp->dwFlags & PSP_USETITLE)
3014  {
3015  if (IS_INTRESOURCE( ppsp->pszTitle ))
3016  ppsp->pszTitle = load_string( ppsp->hInstance, ppsp->pszTitle );
3017  else
3018  ppsp->pszTitle = heap_strdupAtoW( lpPropSheetPage->pszTitle );
3019  }
3020  else
3021  ppsp->pszTitle = NULL;
3022 
3023  if (ppsp->dwFlags & PSP_HIDEHEADER)
3024  ppsp->dwFlags &= ~(PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE);
3025 
3026  if (ppsp->dwFlags & PSP_USEHEADERTITLE)
3027  {
3028  if (IS_INTRESOURCE( ppsp->pszHeaderTitle ))
3029  ppsp->pszHeaderTitle = load_string( ppsp->hInstance, ppsp->pszHeaderTitle );
3030  else
3031  ppsp->pszHeaderTitle = heap_strdupAtoW( lpPropSheetPage->pszHeaderTitle );
3032  }
3033  else
3034  ppsp->pszHeaderTitle = NULL;
3035 
3036  if (ppsp->dwFlags & PSP_USEHEADERSUBTITLE)
3037  {
3038  if (IS_INTRESOURCE( ppsp->pszHeaderSubTitle ))
3039  ppsp->pszHeaderSubTitle = load_string( ppsp->hInstance, ppsp->pszHeaderSubTitle );
3040  else
3041  ppsp->pszHeaderSubTitle = heap_strdupAtoW( lpPropSheetPage->pszHeaderSubTitle );
3042  }
3043  else
3044  ppsp->pszHeaderSubTitle = NULL;
3045 
3046  if ((ppsp->dwFlags & PSP_USECALLBACK) && ppsp->dwSize > PROPSHEETPAGEA_V1_SIZE && ppsp->pfnCallback)
3047  ppsp->pfnCallback(0, PSPCB_ADDREF, ppsp + 1);
3048 
3049  return (HPROPSHEETPAGE)ppsp;
3050 }
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
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
DWORD dwSize
Definition: prsht.h:205
smooth NULL
Definition: ftsmooth.c:557
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:170
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:130
#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:2923
WCHAR * LPWSTR
Definition: xmlstorage.h:184
DWORD dwFlags
Definition: prsht.h:206
#define PSP_DLGINDIRECT
Definition: prsht.h:23
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW ( LPCPROPSHEETPAGEW  )

Definition at line 3057 of file propsheet.c.

Referenced by CLayerUIPropPage::AddPages(), InitializePropertySheetPage(), OleCreatePropertyFrameIndirect(), ParallelPortPropPageProvider(), PropertySheetW(), SerialPortPropPageProvider(), SH_CreatePropertySheetPage(), and test_CreatePropertySheetPage().

3058 {
3059  PROPSHEETPAGEW *ppsp;
3060 
3061  if (lpPropSheetPage->dwSize < PROPSHEETPAGEW_V1_SIZE)
3062  return NULL;
3063 
3064  /* original data is used for callback notifications */
3065  if ((lpPropSheetPage->dwFlags & PSP_USECALLBACK) && lpPropSheetPage->pfnCallback)
3066  {
3067  ppsp = Alloc(2 * sizeof(*ppsp));
3068  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3069  memcpy(ppsp + 1, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3070  }
3071  else
3072  {
3073  ppsp = Alloc(sizeof(*ppsp));
3074  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3075  }
3076 
3077  ppsp->dwFlags |= PSP_INTERNAL_UNICODE;
3078 
3079  if ( !(ppsp->dwFlags & PSP_DLGINDIRECT) )
3080  {
3081  if (!IS_INTRESOURCE( ppsp->u.pszTemplate ))
3082  ppsp->u.pszTemplate = heap_strdupW( lpPropSheetPage->u.pszTemplate );
3083  }
3084 
3085  if ( ppsp->dwFlags & PSP_USEICONID )
3086  {
3087  if (!IS_INTRESOURCE( ppsp->u2.pszIcon ))
3088  ppsp->u2.pszIcon = heap_strdupW( lpPropSheetPage->u2.pszIcon );
3089  }
3090 
3091  if (ppsp->dwFlags & PSP_USETITLE)
3092  ppsp->pszTitle = load_string( ppsp->hInstance, ppsp->pszTitle );
3093  else
3094  ppsp->pszTitle = NULL;
3095 
3096  if (ppsp->dwFlags & PSP_HIDEHEADER)
3097  ppsp->dwFlags &= ~(PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE);
3098 
3099  if (ppsp->dwFlags & PSP_USEHEADERTITLE)
3100  ppsp->pszHeaderTitle = load_string( ppsp->hInstance, ppsp->pszHeaderTitle );
3101  else
3102  ppsp->pszHeaderTitle = NULL;
3103 
3104  if (ppsp->dwFlags & PSP_USEHEADERSUBTITLE)
3105  ppsp->pszHeaderSubTitle = load_string( ppsp->hInstance, ppsp->pszHeaderSubTitle );
3106  else
3107  ppsp->pszHeaderSubTitle = NULL;
3108 
3109  if ((ppsp->dwFlags & PSP_USECALLBACK) && ppsp->dwSize > PROPSHEETPAGEW_V1_SIZE && ppsp->pfnCallback)
3110  ppsp->pfnCallback(0, PSPCB_ADDREF, ppsp + 1);
3111 
3112  return (HPROPSHEETPAGE)ppsp;
3113 }
LPCWSTR pszTemplate
Definition: prsht.h:209
#define PSP_USEICONID
Definition: prsht.h:25
#define PSP_USECALLBACK
Definition: prsht.h:30
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
DWORD dwSize
Definition: prsht.h:205
static WCHAR * heap_strdupW(const WCHAR *str)
Definition: propsheet.c:162
smooth NULL
Definition: ftsmooth.c:557
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:130
#define PSPCB_ADDREF
Definition: prsht.h:171
LPCWSTR pszIcon
Definition: prsht.h:214
static LPWSTR load_string(HINSTANCE instance, LPCWSTR str)
Definition: propsheet.c:2923
DWORD dwFlags
Definition: prsht.h:206
#define PSP_DLGINDIRECT
Definition: prsht.h:23
DECLARE_HANDLE ( HPROPSHEETPAGE  )
BOOL WINAPI DestroyPropertySheetPage ( HPROPSHEETPAGE  )

Definition at line 3126 of file propsheet.c.

Referenced by AddNetIdPage(), CLayerUIPropPage::AddPages(), CNetConnectionPropertyUi::AddPages(), BtrfsVolPropSheet::AddPages(), BtrfsPropSheet::AddPages(), INetCfgComponentPropertyUi_fnMergePropPages(), ParallelPortPropPageProvider(), PropertySheetA(), PropertySheetW(), PROPSHEET_CleanUp(), PROPSHEET_RemovePage(), PropSheetExtProc(), SerialPortPropPageProvider(), test_CreatePropertySheetPage(), test_PSM_ADDPAGE(), and test_PSM_INSERTPAGE().

3127 {
3128  PROPSHEETPAGEW *psp = (PROPSHEETPAGEW *)hPropPage;
3129 
3130  if (!psp)
3131  return FALSE;
3132 
3133  if ((psp->dwFlags & PSP_USECALLBACK) && psp->pfnCallback)
3134  psp->pfnCallback(0, PSPCB_RELEASE, psp + 1);
3135 
3136  if (!(psp->dwFlags & PSP_DLGINDIRECT) && !IS_INTRESOURCE( psp->u.pszTemplate ))
3137  Free ((LPVOID)psp->u.pszTemplate);
3138 
3139  if ((psp->dwFlags & PSP_USEICONID) && !IS_INTRESOURCE( psp->u2.pszIcon ))
3140  Free ((LPVOID)psp->u2.pszIcon);
3141 
3142  if ((psp->dwFlags & PSP_USETITLE) && !IS_INTRESOURCE( psp->pszTitle ))
3143  Free ((LPVOID)psp->pszTitle);
3144 
3145  if ((psp->dwFlags & PSP_USEHEADERTITLE) && !IS_INTRESOURCE( psp->pszHeaderTitle ))
3146  Free ((LPVOID)psp->pszHeaderTitle);
3147 
3148  if ((psp->dwFlags & PSP_USEHEADERSUBTITLE) && !IS_INTRESOURCE( psp->pszHeaderSubTitle ))
3149  Free ((LPVOID)psp->pszHeaderSubTitle);
3150 
3151  Free(hPropPage);
3152 
3153  return TRUE;
3154 }
#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
#define FALSE
Definition: types.h:117
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
INT_PTR WINAPI PropertySheetA ( LPCPROPSHEETHEADERA  )

Definition at line 2846 of file propsheet.c.

Referenced by test_buttons(), test_custom_default_button(), test_disableowner(), test_messages(), test_nopage(), test_PSM_ADDPAGE(), test_PSM_INSERTPAGE(), test_title(), test_wiznavigation(), and WINHELP_CreateIndexWindow().

2847 {
2848  PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2849  UINT i, n;
2850  const BYTE* pByte;
2851 
2852  TRACE("(%p)\n", lppsh);
2853 
2854  PROPSHEET_CollectSheetInfoA(lppsh, psInfo);
2855 
2856  psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2857  pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2858 
2859  for (n = i = 0; i < lppsh->nPages; i++, n++)
2860  {
2861  if (!psInfo->usePropPage)
2862  psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2863  else
2864  {
2866  pByte += ((LPCPROPSHEETPAGEA)pByte)->dwSize;
2867  }
2868 
2870  psInfo, n, TRUE))
2871  {
2872  if (psInfo->usePropPage)
2874  n--;
2875  psInfo->nPages--;
2876  }
2877  }
2878 
2879  return PROPSHEET_PropertySheet(psInfo, FALSE);
2880 }
#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:291
BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
Definition: propsheet.c:3126
PROPSHEETHEADERW ppshheader
Definition: propsheet.c:95
static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, PropSheetInfo *psInfo, int index, BOOL resize)
Definition: propsheet.c:383
GLuint n
Definition: s_context.h:57
GLenum GLclampf GLint i
Definition: glfuncs.h:14
#define FALSE
Definition: types.h:117
static void PROPSHEET_CollectSheetInfoA(LPCPROPSHEETHEADERA lppsh, PropSheetInfo *psInfo)
Definition: propsheet.c:301
#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: ntddk_ex.h:96
HPROPSHEETPAGE * phpage
Definition: prsht.h:291
HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA lpPropSheetPage)
Definition: propsheet.c:2973
HPROPSHEETPAGE hpage
Definition: propsheet.c:83
unsigned int UINT
Definition: ndis.h:50
PropPageInfo * proppage
Definition: propsheet.c:107
static INT_PTR PROPSHEET_PropertySheet(PropSheetInfo *psInfo, BOOL unicode)
Definition: propsheet.c:2812
INT_PTR WINAPI PropertySheetW ( LPCPROPSHEETHEADERW  )

Definition at line 2887 of file propsheet.c.

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

2888 {
2889  PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2890  UINT i, n;
2891  const BYTE* pByte;
2892 
2893  TRACE("(%p)\n", lppsh);
2894 
2895  PROPSHEET_CollectSheetInfoW(lppsh, psInfo);
2896 
2897  psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2898  pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2899 
2900  for (n = i = 0; i < lppsh->nPages; i++, n++)
2901  {
2902  if (!psInfo->usePropPage)
2903  psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2904  else
2905  {
2907  pByte += ((LPCPROPSHEETPAGEW)pByte)->dwSize;
2908  }
2909 
2911  psInfo, n, TRUE))
2912  {
2913  if (psInfo->usePropPage)
2915  n--;
2916  psInfo->nPages--;
2917  }
2918  }
2919 
2920  return PROPSHEET_PropertySheet(psInfo, TRUE);
2921 }
#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:291
BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
Definition: propsheet.c:3126
PROPSHEETHEADERW ppshheader
Definition: propsheet.c:95
static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, PropSheetInfo *psInfo, int index, BOOL resize)
Definition: propsheet.c:383
GLuint n
Definition: s_context.h:57
GLenum GLclampf GLint i
Definition: glfuncs.h:14
static void PROPSHEET_CollectSheetInfoW(LPCPROPSHEETHEADERW lppsh, PropSheetInfo *psInfo)
Definition: propsheet.c:345
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
Definition: propsheet.c:3057
#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: ntddk_ex.h:96
HPROPSHEETPAGE * phpage
Definition: prsht.h:291
const PROPSHEETPAGEW * LPCPROPSHEETPAGEW
Definition: prsht.h:227
HPROPSHEETPAGE hpage
Definition: propsheet.c:83
unsigned int UINT
Definition: ndis.h:50
PropPageInfo * proppage
Definition: propsheet.c:107
static INT_PTR PROPSHEET_PropertySheet(PropSheetInfo *psInfo, BOOL unicode)
Definition: propsheet.c:2812

Variable Documentation

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().