9#define MAX_ADVANCED_PAGES 32
17 ppsh->phpage[ppsh->nPages++] = hpage;
33 psp.dwSize =
sizeof(psp);
53 UINT uiMonitorName, uiDisplayName;
55 TCHAR szFormatBuff[32];
59 szFormatBuff[0] =
_T(
'\0');
70 if (lpMonitorName !=
NULL)
82 HPSXA hpsxaDev, hpsxaDisp;
87 szCaption[0] =
_T(
'\0');
94 psh.pszCaption = szCaption;
105 if (hpsxaDev !=
NULL)
109 if (hpsxaDisp !=
NULL)
114 if (hpsxaDisp !=
NULL)
117 if (hpsxaDev !=
NULL)
120 IDataObject_Release(pdo);
static BOOL CALLBACK PropSheetAddPage(HPROPSHEETPAGE hpage, LPARAM lParam)
BOOL DisplayAdvancedSettings(HWND hWndParent, PDISPLAY_DEVICE_ENTRY DisplayDevice)
static BOOL DisplayAdvancedSettingsInitPropSheetPage(PROPSHEETHEADER *ppsh, WORD idDlg, DLGPROC DlgProc, LPARAM lParam)
#define MAX_ADVANCED_PAGES
static VOID BuildAdvPropTitle(IDataObject *pdo, LPTSTR lpBuffer, DWORD dwBufferLen)
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
INT_PTR CALLBACK AdvGeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY, LPCWSTR, UINT, IDataObject *)
IDataObject * CreateDevSettings(PDISPLAY_DEVICE_ENTRY DisplayDeviceInfo)
#define DESK_EXT_MONITORNAME
static __inline LPTSTR QueryDeskCplString(IDataObject *pdo, UINT cfFormat)
#define DESK_EXT_DISPLAYNAME
#define IDD_ADVANCED_GENERAL
#define IDS_ADVANCEDTITLEFMT
HLOCAL NTAPI LocalFree(HLOCAL hMem)
struct _PSP * HPROPSHEETPAGE
#define CreatePropertySheetPage
#define REGSTR_PATH_CONTROLSFOLDER
void WINAPI SHDestroyPropSheetExtArray(HPSXA hpsxa)
UINT WINAPI SHAddFromPropSheetExtArray(HPSXA hpsxa, LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam)
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR lpDisplayName
#define HKEY_LOCAL_MACHINE
#define RegisterClipboardFormat