typedef struct _PROPSHEETUI_INFO_HEADER { WORD cbSize; WORD Flags; LPTSTR pTitle; HWND hWndParent; HINSTANCE hInst; union { HICON hIcon; DWORD IconID; }; } PROPSHEETUI_INFO_HEADER, *PPROPSHEETUI_INFO_HEADER;
The PROPSHEETUI_INFO_HEADER structure contains caller-specific details required by the CPSUI to display the property sheet’s dialog boxes.
Flag |
Description |
PSUIHDRF_NOAPPLYNOW |
The CPSUI should remove the Apply Now button. |
PSUIHDRF_PROPTITLE |
The CPSUI should append the word “Properties” to the title bar string. |
PSUIHDRF_USEHICON |
The hIcon union field is a valid handle to an icon that CPSUI should use. |
PSUIHDRF_DEFTITLE |
The CPSUI should include “Default” in the title bar string. CPSUI adds “Default” after pTitle, and, if PSUIHDRF_PROPTITLE is set, before “Properties”. |
The CPSUI allocates and initializes a PROPSHEETUI_INFO_HEADER structure when a property sheet has been requested. It passes this structure to the caller’s PFNPROPSHEETUI callback to fill with information needed for the property sheet’s title bar. The CPSUI calls the callback with the Reason member of pPSUIInfo set to PROPSHEETUI_REASON_GET_INFO_HEADER; the PROPSHEETUI_INFO_HEADER structure is passed as lParam.
The pTitle parameter is either a pointer to a null-terminated string or an integer value that specifies a resource identifier. If pTitle specifies a resource identifier, its high-order word must be zero and its low-order word must contain the identifier.