IShellWindows::get_Count method (exdisp.h)

Gets the number of windows in the Shell windows collection.

Syntax

HRESULT get_Count(
  [out, retval] long *Count
);

Parameters

[out, retval] Count

Type: long*

The number of windows in the Shell windows collection.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header exdisp.h
DLL Shdocvw.dll (version 5.00.2014.0216 or later)

See also

IShellWindows

IShellWindows::Item

IShellWindows::_NewEnum