GetCPSUIUserData

DWORD APIENTRY GetCPSUIUserData(

    HWND hDlg

   );

GetCPSUIUserData retrieves information associated with the specified property sheet dialog box.

Parameters

hDlg
Handle to the property sheet dialog box to be queried.

Return Value

GetCPSUIUserData returns the 32-bit value associated with hDlg upon success. If the function fails, the return value is zero.

Comments

The caller’s dialog box subclass procedure, defined as the DlgProc member of the DLGPAGE structure, can call GetCPSUIUserData to retrieve user data stored by the caller in a previous call to SetCPSUIUserData.