IShellView::AddPropertySheetPages method

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

Syntax


HRESULT AddPropertySheetPages(
  [in] DWORD                dwReserved,
  [in] LPFNADDPROPSHEETPAGE lpfn,
  [in] LPARAM               lparam
);

Parameters

dwReserved [in]

Type: DWORD

Reserved.

lpfn [in]

Type: LPFNADDPROPSHEETPAGE

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

lparam [in]

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]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.0 or later)

See also

IShellView

 

 

Show: