ITypeInfo2::GetTypeKind

HRESULT GetTypeKind( 
  TYPEKIND  *pTypeKind  
);
 

Returns the TYPEKIND enumeration quickly, without doing any allocations.

Parameter

pTypeKind
Reference to a TYPEKIND enumeration.

Return Value

The return value obtained from the returned HRESULT is one of the following:

Return value Meaning
S_OK Success.
E_OUTOFMEMORY Out of memory.
E_INVALIDARG One or more of the arguments is invalid.


Example

HRESULT ITypeInfo2::GetTypeKind(TYPEKIND * ptypekind)