The GetTypeFlags method returns the TYPEFLAGS value associated with the automation type description.

 HRESULT GetTypeFlags(
   [out] ULONG* pTypeFlags
 );

pTypeFlags: MUST be set either to a combination of the TYPEFLAGS type feature constants specified in section 2.2.16, or to 0.

Return Values: The method MUST return information in an HRESULT data structure, defined in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following conditions: