The get__newEnum method retrieves the IUnknown interface for the SimpleList's enumerator object. The caller can call QueryInterface through this pointer to retrieve an instance pointer on the SimpleList's IEnumVariant implementation.
HRESULT get__newEnum(
IUnknown **ppUnk// out
);
<commerce.h>
Value | Meaning |
---|---|
S_OK | The method succeeded. |
E_POINTER | The ppUnk parameter references a NULL pointer. |
E_OUTOFMEMORY | Memory failure. |