IShellView::AddPropertySheetPages method (shobjidl_core.h)
Allows the view to add pages to the Options property sheet from the View menu.
Syntax
HRESULT AddPropertySheetPages(
[in] DWORD dwReserved,
[in] LPFNSVADDPROPSHEETPAGE pfn,
[in] LPARAM lparam
);
Parameters
[in] dwReserved
Type: DWORD
Reserved.
[in] pfn
Type: LPFNADDPROPSHEETPAGE
The address of the callback function used to add the pages.
[in] 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
Requirement | Value |
---|---|
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) |