Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The AddPagesmethod 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_OKif 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 CreatePropertySheetPagefunction 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