CPSFUNC_INSERT_PSUIPAGE function
The CPSFUNC_INSERT_PSUIPAGE function code causes the ComPropSheet function to insert a set of property sheet pages at a specific position.
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_INSERT_PSUIPAGE when it calls ComPropSheet to insert a set of property sheet pages at a specific position.lParam1
Specifies a handle to a set of one or more property sheet pages. The new pages will be inserted before or after these pages, depending on the Mode member of the INSERTPSUIPAGE_INFO structure pointed to by lParam2. This handle must previously have been obtained by a call to ComPropSheet with one of the following function codes:CPSFUNC_INSERT_PSUIPAGE
lParam2
Pointer to an INSERTPSUIPAGE_INFO structure, describing where and how the new pages should be inserted.
Return value
If the operation succeeds, the ComPropSheet function returns a handle to the set of pages that were inserted; otherwise, the function returns NULL.
Requirements
Target platform |
Desktop |
Header |
Compstui.h (include Compstui.h) |
See also