Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SHReplaceFromPropSheetExtArray function

[This function is available through Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]

Requests each property sheet in a property sheet extension array to replace pages. Each page is allowed up to one replacement.

Syntax


UINT SHReplaceFromPropSheetExtArray(
  _In_  HPSXA hpsxa,
  UINT uPageID,
  _In_  LPFNADDPROPSHEETPAGE lpfnReplaceWith,
  LPARAM lParam
);

Parameters

hpsxa [in]

Type: HPSXA

A property sheet array handle (HPSXA) returned from a call to SHCreatePropSheetExtArray.

uPageID

Type: UINT

The ID of the page to replace.

lpfnReplaceWith [in]

Type: LPFNADDPROPSHEETPAGE

A pointer to an AddPropSheetPageProc function used by the property sheet extension to add a page to a property sheet.

lParam

Type: LPARAM

An application-defined value.

Return value

Type: UINT

The number of replacements actually performed.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.00 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.