IShellBrowser::QueryActiveShellView method (shobjidl_core.h)
Retrieves the currently active (displayed) Shell view object.
HRESULT QueryActiveShellView( IShellView **ppshv );
The address of the pointer to the currently active Shell view object.
Returns S_OK if successful, or a COM-defined error value otherwise.
RemarksIShellBrowser interface can host several Shell views simultaneously, this method provides an easy way to determine the active Shell view object.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|
|DLL||Shell32.dll (version 4.0 or later)|