Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get__NewEnum method retrieves an enumerator for the collection.
Syntax
HRESULT get__NewEnum(
IEnumVARIANT **ppD
);
Parameters
ppD
[out] Pointer to a variable that receives an IEnumVARIANT interface pointer.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
S_OK | Success. |
E_OUTOFMEMORY | Insufficient memory. |
E_POINTER | NULL pointer argument. |
Remarks
This method is provided so that Automation clients can iterate through the collection using a For...Each
loop.
If the method succeeds, the IEnumVARIANT interface has an outstanding reference count. The caller must release the interface.
See Also