typedef struct _PSPINFO {
WORD cbSize;
WORD wReserved;
HANDLE hComComPropSheet;
HANDLE hCPSUIPage;
PFNCOMPROPSHEET pfnComPropSheet;
} PSPINFO, *PPSPINFO;
The PSPINFO structure is used by a property sheet page’s dialog box procedure with the WM_INITDIALOG message.
Members
cbSize
Size of this structure in bytes.
wReserved
Reserved; must be set to zero.
hComPropSheet
Handle to the parent page. This handle has been obtained in a call to PFNCOMPROPSHEET with a Function of CPSFUNC_ADD_PROPSHEETPAGE.
hCPSUIPage
Handle to the added property sheet page.
pfnComPropSheet
Pointer to the CPSUI’s callback.
Comments
When the WM_INITDIALOG message is sent to the dialog box procedure, the lParam parameter is a pointer to a PROPSHEETPAGE, and the lParam member of the PROPSHEETPAGE structure is a pointer to a PSPINFO structure. When processing the WM_INITDIALOG message, the dialog box procedure should save the PSPINFO pointer so that the CPSUI can be called back to process future CPSFUNC_Xxx requests. The dialog box procedure should use the PPSPINFO_FROM_WM_INITDIALOG_LPARAM macro defined in compstui.h to retrieve this pointer.
See the Win32 SDK for information on the PROPSHEETPAGE structure.
See Also