IShellView::AddPropertySheetPages method

Allows the view to add pages to the Options property sheet from the View menu.

Syntax

HRESULT AddPropertySheetPages(
  DWORD                  dwReserved,
  LPFNSVADDPROPSHEETPAGE pfn,
  LPARAM                 lparam
);

Parameters

dwReserved

Type: DWORD

Reserved.

pfn

Type: LPFNADDPROPSHEETPAGE

The address of the callback function used to add the pages.

lparam

Type: LPARAM

A value that must be passed as the callback function's lparam parameter.

Return Value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error value otherwise.

Remarks

Notes to Implementers

Windows Explorer calls this method when it is opening the Options property sheet from the View menu. Views can add pages by creating them and calling the callback function with the page handles.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.0 or later)

See Also

IShellView