IUPnPDevices::get__NewEnum method (upnp.h)

The _NewEnum property specifies either the IEnumVARIANT or IEnumUnknown enumerator interface for the collection.

Syntax

HRESULT get__NewEnum(
  [out] LPUNKNOWN *ppunk
);

Parameters

[out] ppunk

Receives a reference to the enumerator interface.

Return value

For C++: If this property's "get" method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.

Remarks

This property is not visible in Visual Basic; use the for...each...next programming construct instead.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPDevices