Partager via


IShellPropSheetExt::ReplacePage

4/8/2010

The ReplacePage method 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_OK if 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

Reference

IShellPropSheetExt