ReactOS  0.4.11-dev-433-g473ca91
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(), PropertySheetDialog::DoModal(), and PropSheetThread().

#define PropSheet_PressButton (   d,
  i 
)    SendMessage(d,PSM_PRESSBUTTON,i,0)
#define PropSheet_QuerySiblings (   d,
  w,
  l 
)    SendMessage(d,PSM_QUERYSIBLINGS,w,l)

Definition at line 331 of file prsht.h.

Referenced by CFileDefExt::OnFolderCustApply().

#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(), OnControl(), 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_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)
#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(), connections_on_notify(), CurrencyPageProc(), DatePageProc(), DateTimePageProc(), DisplayAdapterDlgProc(), DisplayPageProc(), CFileDefExt::FolderCustomizePageProc(), FolderOptionsGeneralDlg(), FolderOptionsViewDlg(), FontProc(), formatopts_proc(), general_on_notify(), CDrvDefExt::GeneralPageProc(), GeneralPageProc(), CFileDefExt::GeneralPageProc(), GeneralPageWndProc(), GroupGeneralPageProc(), HibernateDlgProc(), InetTimePageProc(), KeyboardPageProc(), KeyboardSpeedProc(), CNetConnectionPropertyUi::LANPropertiesUIDlg(), LANStatusUiDlg(), LogonPageProc(), MonitorDlgProc(), MouseOnNotify(), MousePageProc(), NetIDPageProc(), DesktopSettingsDlg::Notify(), TaskbarSettingsDlg::Notify(), NumbersPageProc(), CShellLink::OnNotify(), ATL::CPropertyPageImpl< CExtractSettingsPage >::OnNotify(), OnNotify(), OnNotifySettingsPage(), OptionProc(), OptionsProc(), page_dlg_proc(), PointerProc(), PowerSchemesDlgProc(), PROPSHEET_Apply(), PropSheetDlgProc(), RecoveryPageProc(), RecycleBinDlg(), ScreenSaverPageProc(), security_on_notify(), ServicesPageWndProc(), SettingsPageProc(), SortPageProc(), SoundPageProc(), SoundsDlgProc(), SystemPageWndProc(), 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.

Referenced by ATL::CPropertyPageImpl< CExtractSettingsPage >::OnNotify().

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

Referenced by ATL::CPropertyPageImpl< CExtractSettingsPage >::OnNotify().

#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 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 2982 of file propsheet.c.

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

2984 {
2985  PROPSHEETPAGEW *ppsp;
2986 
2987  if (lpPropSheetPage->dwSize < PROPSHEETPAGEA_V1_SIZE)
2988  return NULL;
2989 
2990  /* original data is used for callback notifications */
2991  if ((lpPropSheetPage->dwFlags & PSP_USECALLBACK) && lpPropSheetPage->pfnCallback)
2992  {
2993  ppsp = Alloc(2 * sizeof(*ppsp));
2994  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
2995  memcpy(ppsp + 1, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
2996  }
2997  else
2998  {
2999  ppsp = Alloc(sizeof(*ppsp));
3000  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEA)));
3001  }
3002 
3003  ppsp->dwFlags &= ~PSP_INTERNAL_UNICODE;
3004 
3005  if ( !(ppsp->dwFlags & PSP_DLGINDIRECT) )
3006  {
3007  if (!IS_INTRESOURCE( ppsp->u.pszTemplate ))
3008  {
3009  int len = strlen(lpPropSheetPage->u.pszTemplate) + 1;
3010  char *template = Alloc( len );
3011 
3012  ppsp->u.pszTemplate = (LPWSTR)strcpy( template, lpPropSheetPage->u.pszTemplate );
3013  }
3014  }
3015 
3016  if (ppsp->dwFlags & PSP_USEICONID)
3017  {
3018  if (!IS_INTRESOURCE( ppsp->u2.pszIcon ))
3019  ppsp->u2.pszIcon = heap_strdupAtoW( lpPropSheetPage->u2.pszIcon );
3020  }
3021 
3022  if (ppsp->dwFlags & PSP_USETITLE)
3023  {
3024  if (IS_INTRESOURCE( ppsp->pszTitle ))
3025  ppsp->pszTitle = load_string( ppsp->hInstance, ppsp->pszTitle );
3026  else
3027  ppsp->pszTitle = heap_strdupAtoW( lpPropSheetPage->pszTitle );
3028  }
3029  else
3030  ppsp->pszTitle = NULL;
3031 
3032  if (ppsp->dwFlags & PSP_HIDEHEADER)
3033  ppsp->dwFlags &= ~(PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE);
3034 
3035  if (ppsp->dwFlags & PSP_USEHEADERTITLE)
3036  {
3037  if (IS_INTRESOURCE( ppsp->pszHeaderTitle ))
3038  ppsp->pszHeaderTitle = load_string( ppsp->hInstance, ppsp->pszHeaderTitle );
3039  else
3040  ppsp->pszHeaderTitle = heap_strdupAtoW( lpPropSheetPage->pszHeaderTitle );
3041  }
3042  else
3043  ppsp->pszHeaderTitle = NULL;
3044 
3045  if (ppsp->dwFlags & PSP_USEHEADERSUBTITLE)
3046  {
3047  if (IS_INTRESOURCE( ppsp->pszHeaderSubTitle ))
3048  ppsp->pszHeaderSubTitle = load_string( ppsp->hInstance, ppsp->pszHeaderSubTitle );
3049  else
3050  ppsp->pszHeaderSubTitle = heap_strdupAtoW( lpPropSheetPage->pszHeaderSubTitle );
3051  }
3052  else
3053  ppsp->pszHeaderSubTitle = NULL;
3054 
3055  if ((ppsp->dwFlags & PSP_USECALLBACK) && ppsp->dwSize > PROPSHEETPAGEA_V1_SIZE && ppsp->pfnCallback)
3056  ppsp->pfnCallback(0, PSPCB_ADDREF, ppsp + 1);
3057 
3058  return (HPROPSHEETPAGE)ppsp;
3059 }
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:2932
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 3066 of file propsheet.c.

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

3067 {
3068  PROPSHEETPAGEW *ppsp;
3069 
3070  if (lpPropSheetPage->dwSize < PROPSHEETPAGEW_V1_SIZE)
3071  return NULL;
3072 
3073  /* original data is used for callback notifications */
3074  if ((lpPropSheetPage->dwFlags & PSP_USECALLBACK) && lpPropSheetPage->pfnCallback)
3075  {
3076  ppsp = Alloc(2 * sizeof(*ppsp));
3077  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3078  memcpy(ppsp + 1, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3079  }
3080  else
3081  {
3082  ppsp = Alloc(sizeof(*ppsp));
3083  memcpy(ppsp, lpPropSheetPage, min(lpPropSheetPage->dwSize, sizeof(PROPSHEETPAGEW)));
3084  }
3085 
3086  ppsp->dwFlags |= PSP_INTERNAL_UNICODE;
3087 
3088  if ( !(ppsp->dwFlags & PSP_DLGINDIRECT) )
3089  {
3090  if (!IS_INTRESOURCE( ppsp->u.pszTemplate ))
3091  ppsp->u.pszTemplate = heap_strdupW( lpPropSheetPage->u.pszTemplate );
3092  }
3093 
3094  if ( ppsp->dwFlags & PSP_USEICONID )
3095  {
3096  if (!IS_INTRESOURCE( ppsp->u2.pszIcon ))
3097  ppsp->u2.pszIcon = heap_strdupW( lpPropSheetPage->u2.pszIcon );
3098  }
3099 
3100  if (ppsp->dwFlags & PSP_USETITLE)
3101  ppsp->pszTitle = load_string( ppsp->hInstance, ppsp->pszTitle );
3102  else
3103  ppsp->pszTitle = NULL;
3104 
3105  if (ppsp->dwFlags & PSP_HIDEHEADER)
3106  ppsp->dwFlags &= ~(PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE);
3107 
3108  if (ppsp->dwFlags & PSP_USEHEADERTITLE)
3109  ppsp->pszHeaderTitle = load_string( ppsp->hInstance, ppsp->pszHeaderTitle );
3110  else
3111  ppsp->pszHeaderTitle = NULL;
3112 
3113  if (ppsp->dwFlags & PSP_USEHEADERSUBTITLE)
3114  ppsp->pszHeaderSubTitle = load_string( ppsp->hInstance, ppsp->pszHeaderSubTitle );
3115  else
3116  ppsp->pszHeaderSubTitle = NULL;
3117 
3118  if ((ppsp->dwFlags & PSP_USECALLBACK) && ppsp->dwSize > PROPSHEETPAGEW_V1_SIZE && ppsp->pfnCallback)
3119  ppsp->pfnCallback(0, PSPCB_ADDREF, ppsp + 1);
3120 
3121  return (HPROPSHEETPAGE)ppsp;
3122 }
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:2932
DWORD dwFlags
Definition: prsht.h:206
#define PSP_DLGINDIRECT
Definition: prsht.h:23
DECLARE_HANDLE ( HPROPSHEETPAGE  )
BOOL WINAPI DestroyPropertySheetPage ( HPROPSHEETPAGE  )

Definition at line 3135 of file propsheet.c.

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

3136 {
3137  PROPSHEETPAGEW *psp = (PROPSHEETPAGEW *)hPropPage;
3138 
3139  if (!psp)
3140  return FALSE;
3141 
3142  if ((psp->dwFlags & PSP_USECALLBACK) && psp->pfnCallback)
3143  psp->pfnCallback(0, PSPCB_RELEASE, psp + 1);
3144 
3145  if (!(psp->dwFlags & PSP_DLGINDIRECT) && !IS_INTRESOURCE( psp->u.pszTemplate ))
3146  Free ((LPVOID)psp->u.pszTemplate);
3147 
3148  if ((psp->dwFlags & PSP_USEICONID) && !IS_INTRESOURCE( psp->u2.pszIcon ))
3149  Free ((LPVOID)psp->u2.pszIcon);
3150 
3151  if ((psp->dwFlags & PSP_USETITLE) && !IS_INTRESOURCE( psp->pszTitle ))
3152  Free ((LPVOID)psp->pszTitle);
3153 
3154  if ((psp->dwFlags & PSP_USEHEADERTITLE) && !IS_INTRESOURCE( psp->pszHeaderTitle ))
3155  Free ((LPVOID)psp->pszHeaderTitle);
3156 
3157  if ((psp->dwFlags & PSP_USEHEADERSUBTITLE) && !IS_INTRESOURCE( psp->pszHeaderSubTitle ))
3158  Free ((LPVOID)psp->pszHeaderSubTitle);
3159 
3160  Free(hPropPage);
3161 
3162  return TRUE;
3163 }
#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 2855 of file propsheet.c.

Referenced by init_functions(), and WINHELP_CreateIndexWindow().

2856 {
2857  PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2858  UINT i, n;
2859  const BYTE* pByte;
2860 
2861  TRACE("(%p)\n", lppsh);
2862 
2863  PROPSHEET_CollectSheetInfoA(lppsh, psInfo);
2864 
2865  psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2866  pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2867 
2868  for (n = i = 0; i < lppsh->nPages; i++, n++)
2869  {
2870  if (!psInfo->usePropPage)
2871  psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2872  else
2873  {
2875  pByte += ((LPCPROPSHEETPAGEA)pByte)->dwSize;
2876  }
2877 
2879  psInfo, n, TRUE))
2880  {
2881  if (psInfo->usePropPage)
2883  n--;
2884  psInfo->nPages--;
2885  }
2886  }
2887 
2888  return PROPSHEET_PropertySheet(psInfo, FALSE);
2889 }
#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:3135
PROPSHEETHEADERW ppshheader
Definition: propsheet.c:111
static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, PropSheetInfo *psInfo, int index, BOOL resize)
Definition: propsheet.c:399
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: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: ntddk_ex.h:96
HPROPSHEETPAGE * phpage
Definition: prsht.h:291
HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA lpPropSheetPage)
Definition: propsheet.c:2982
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:2821
INT_PTR WINAPI PropertySheetW ( LPCPROPSHEETHEADERW  )

Definition at line 2896 of file propsheet.c.

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

2897 {
2898  PropSheetInfo* psInfo = GlobalAlloc(GPTR, sizeof(PropSheetInfo));
2899  UINT i, n;
2900  const BYTE* pByte;
2901 
2902  TRACE("(%p)\n", lppsh);
2903 
2904  PROPSHEET_CollectSheetInfoW(lppsh, psInfo);
2905 
2906  psInfo->proppage = Alloc(sizeof(PropPageInfo) * lppsh->nPages);
2907  pByte = (const BYTE*) psInfo->ppshheader.u3.ppsp;
2908 
2909  for (n = i = 0; i < lppsh->nPages; i++, n++)
2910  {
2911  if (!psInfo->usePropPage)
2912  psInfo->proppage[n].hpage = psInfo->ppshheader.u3.phpage[i];
2913  else
2914  {
2916  pByte += ((LPCPROPSHEETPAGEW)pByte)->dwSize;
2917  }
2918 
2920  psInfo, n, TRUE))
2921  {
2922  if (psInfo->usePropPage)
2924  n--;
2925  psInfo->nPages--;
2926  }
2927  }
2928 
2929  return PROPSHEET_PropertySheet(psInfo, TRUE);
2930 }
#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:3135
PROPSHEETHEADERW ppshheader
Definition: propsheet.c:111
static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, PropSheetInfo *psInfo, int index, BOOL resize)
Definition: propsheet.c:399
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:361
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
Definition: propsheet.c:3066
#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: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:2821

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