IExtendPropertySheet::CreatePropertyPages

[This is preliminary documentation and subject to change.]

Adds pages to a property sheet.

HRESULT CreatePropertyPages(
  LPPROPERTYSHEETCALLBACK lpProvider,
                              // Pointer to the callback interface
  long handle,                // Handle for routing notification
  LPDATAOBJECT lpIDataObject  // Pointer to the data object
);
 

Parameters

lpProvider
[in] Pointer to the IPropertySheetCallback interface.
handle
[in] Specifies the handle used to route the MMCN_PROPERTY_CHANGE notification message to the appropriate IComponent or IComponentData.
lpIDataObject
[in] Pointer to the IDataObject interface on the object that contains context information about the node.

Return Value

S_OK
The property sheet pages were successfully added.
S_FALSE
There were no pages added.
E_UNEXPECTED
An unexpected error occurred.
E_INVALIDARG
One or more parameters are invalid.

See Also

IDataObject, IExtendPropertySheet, IPropertySheetCallback