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