IShellView::AddPropertySheetPages

[Now Supported on Windows NT]

Provides a way for the view to add pages to the Options property sheet.

HRESULT AddPropertySheetPages(

    DWORD dwReserved,

// Reserved.

    LPFNADDPROPSHEETPAGE lpfn,

// Points to the callback that adds pages

    LPARAM lparam

// lparam to be passed to the callback function

   );

 

 

Parameters

dwReserved

This parameter is reserved for future use.

lpfn

Pointer to the callback function used to add the pages.

lparam

Specifies the lParam that must be passed to the callback in the lpfn parameter.

 

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

Remarks

Allows the view to add property pages to the View.Options... property page.

Notes to implementors

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

See Also

IShellView, CreatePropertySheetPage