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 ReplacePagemethod is called by the shell so that default control panel pages can be replaced.

Syntax

HRESULT ReplacePage (
  UINT 
uPageID,
  LPFNADDPROPSHEETPAGE 
lpfnReplace,
  LPARAM 
lParam
);

Parameters

uPageID

[in] Specifies the page to be replaced .

lpfnReplace

[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.

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