IShellWindows::_NewEnum method

Retrieves an enumerator for the collection of Shell windows.

Syntax


HRESULT _NewEnum(
  [out, retval] IUnknown **ppunk
);

Parameters

ppunk [out, retval]

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

Product

Internet Explorer 5

Header

Exdisp.h

IDL

Exdisp.idl

DLL

Shdocvw.dll (version 5.00.2014.0216 or later)

See also

IShellWindows
IShellWindows::get_Count
IShellWindows::Item

 

 

Show: