CPSFUNC_ADD_PCOMPROPSHEETUI function

The CPSFUNC_ADD_PCOMPROPSHEETUI function code causes the ComPropSheet function to add a set of one or more property sheet pages that are described by a COMPROPSHEETUI structure.

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_PCOMPROPSHEETUI when it calls ComPropSheet to add a set of one or more property sheet pages.

  • lParam1
    Pointer to a COMPROPSHEETUI structure.

  • lParam2
    Pointer to a 32-bit location to receive the number of pages added or, if a failure occurs, an ERR_CPSUI-prefixed error code.

Return value

If the operation succeeds, ComPropSheet returns a handle to the set of added pages; otherwise, the function returns NULL.

Requirements

Target platform

Desktop

Header

Compstui.h (include Compstui.h)

See also

COMPROPSHEETUI

 

 

Send comments about this topic to Microsoft