IGPMGPOLinksCollection::get__NewEnum method

The get_NewEnum method retrieves an enumerator for the collection.

Syntax


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

Parameters

ppIGPMLinks [out]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMGPOLinksCollection is defined as 189D7B68-16BD-4D0D-A2EC-2E6AA2288C7F

See also

IGPMGPOLinksCollection
IGPMGPOLink

 

 

Show: