This method returns the TYPEFLAGS quickly, without doing any allocations.
At a Glance
| Header file: | Oaidl.h |
| Windows CE versions: | 2.0 and later |
Syntax
HRESULT GetTypeFlags( unsigned long *pTypeFlags );
Parameters
pTypeFlags
Pointer to a TYPEFLAG.
Return Values
One of the values described in the following table is returned.
| Value | Description |
| S_OK | Success. |
| E_OUTOFMEMORY | Out of memory. |
| E_INVALIDARG | One or more of the parameters is invalid. |
Example
HRESULT ITypeInfo2::GetTypeFlags(DWORD * pTypeFlags)