IShellWindows::_NewEnum method (exdisp.h)

Retrieves an enumerator for the collection of Shell windows.

Syntax

HRESULT _NewEnum(
  IUnknown **ppunk
);

Parameters

ppunk

Type: IUnknown**

When this method returns, contains an interface pointer to an object that implements the IEnumVARIANT interface.

Return value

Type: HRESULT

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

Requirements

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

See also

IShellWindows

IShellWindows::Item

IShellWindows::get_Count