Επεξεργασία

Κοινή χρήση μέσω


IShellBrowser::QueryActiveShellView method (shobjidl_core.h)

Retrieves the currently active (displayed) Shell view object.

Syntax

HRESULT QueryActiveShellView(
  IShellView **ppshv
);

Parameters

ppshv

Type: IShellView**

The address of the pointer to the currently active Shell view object.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error value otherwise.

Remarks

Notes to Calling Applications

Because the IShellBrowser interface can host several Shell views simultaneously, this method provides an easy way to determine the active Shell view object.

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)