IShellBrowser::QueryActiveShellView

[Now Supported on Windows NT]

QueryActiveShellView returns the currently activated (displayed) shell view object.

HRESULT QueryActiveShellView(

IShellView **ppshv // Points to the view's address
);  

Parameters

ppshv

Points to the address of the currently active shell view object.

Return Values

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

Notes to callers

QueryActiveShellView is useful because it is possible for an IShellBrowser to host several shell views simultaneously. However, the current version of the Explorer does not do this.

See Also

IShellBrowser