CPSFUNC_ADD_HPROPSHEETPAGE function

The CPSFUNC_ADD_HPROPSHEETPAGE function code causes the ComPropSheet function to add a property sheet page that has been created by calling the CreatePropertySheetPage function (described in the Microsoft Windows SDK documentation).

Syntax

LONG_PTR ComPropSheet(
   HANDLE hComPropSheet,
   UINT   Function,
   LPARAM lParam1,
   LPARAM lParam2
);

Parameters

  • hComPropSheet
    Group parent handle.

  • Function
    Caller sets this function code parameter to CPSFUNC_ADD_HPROPSHEETPAGE when it calls ComPropSheet to add a property sheet page.

  • lParam1
    Handle to a property sheet page, obtained by calling the CreatePropertySheetPage function.

  • lParam2
    Not used, must be zero.

Return value

If the operation succeeds, ComPropSheet returns a CPSUI handle to the added page; otherwise, it returns NULL.

Requirements

Target platform

Desktop

Header

Compstui.h (include Compstui.h)

See also

CPSFUNC_ADD_PROPSHEETPAGE

 

 

Send comments about this topic to Microsoft