ITcTypeSystem::_NewEnum
Creates a COM enumerator over the data types currently registered in the type system. An IEnumVARIANT is created from a snapshot of the registered data types. Each element is added as an IDispatch-compatible type instance. In C#, the method is available via GetEnumerator.
Signature
HRESULT _NewEnum(IUnknown** ppunkEnum);
Parameter
(none)
Return value
|
Name |
Type |
Description |
|---|---|---|
|
ppunkEnum |
IUnknown** |
[out, retval] Enumerator that can be used as an |
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_POINTER:ppunkEnumisNULL. -
E_OUTOFMEMORY: The enumerator could not be created.