ITypeInfo2::GetTypeFlags

HRESULT GetTypeFlags( 
  unsigned long  *pTypeFlags  
);
 

Returns the type flags without any allocations. This returns a DWORD type flag, which expands the type flags without growing the TYPEATTR (type attribute).

Parameter

pTypeFlags
The DWORD reference to a TYPEFLAG.

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::GetTypeFlags(DWORD * pTypeFlags)