次の方法で共有


CPSFUNC_ADD_PFNPROPSHEETUI function

The CPSFUNC_ADD_PFNPROPSHEETUI function code causes the ComPropSheet function to call the specified PFNPROPSHEETUI-typed function, which must add a set of one or more property sheet pages.

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_PFNPROPSHEETUI when it calls ComPropSheet . ComPropSheet then calls the specified PFNPROPSHEETUI-typed function to add a set of one or more property sheet pages.

  • lParam1
    Pointer to a PFNPROPSHEETUI-typed function.

  • lParam2
    A 32-bit value that is passed to the PFNPROPSHEETUI-typed function for its lParam parameter.

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

PFNPROPSHEETUI

 

 

Send comments about this topic to Microsoft