IGPMWMIFilterCollection::get__NewEnum method (gpmgmt.h)

Retrieves an enumerator for the collection.

Syntax

HRESULT get__NewEnum(
  [out] IEnumVARIANT **pVal
);

Parameters

[out] pVal

Pointer to an IEnumVARIANT interface of an enumerator object for the collection. IEnumVARIANT provides a number of methods that you can use to iterate through the collection. For more information about IEnumVARIANT, see the COM documentation in the Platform SDK.

Return value

Returns S_OK if successful. Returns a failure code if an error occurs.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See also

IGPMWMIFilter

IGPMWMIFilterCollection