Partager via


IShellPropSheetExt::AddPages

4/8/2010

The AddPages method adds pages when a registered property sheet extension is found for a particular type of object.

Syntax

HRESULT AddPages (
  LPFNADDPROPSHEETPAGE lpfnAddPage,
  LPARAM lParam
);

Parameters

  • lpfnAddPage
    [in] Specifies the callback function.
  • lParam
    [in] Specifies the opaque handle to be passed to the callback function.

Return Value

This method should return S_OK if it was successful or appropriate errors if not.

Remarks

For each additional page, the extension creates a page object by calling the Windows Embedded CE CreatePropertySheetPage function and then calls the function specified in lpfnAddPage.

Requirements

Header shlobj.h
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later

See Also

Reference

IShellPropSheetExt
CreatePropertySheetPage