<div class="content" name="GetTypeAttr" uuid="b96292a8-c06e-4b9c-905e-129b95697ee4"><p>The GetTypeAttr method retrieves a <a href="0ca10d08-61d2-4059-9109-7bbaf545715e" data-linktype="relative-path">TYPEATTR</a> structure that
contains information about the type described by the <a href="99504cf9-16d8-401e-a873-83b85d1ee4aa" data-linktype="relative-path">ITypeInfo server</a>.</p><dl>
<dd>
<div><pre> HRESULT GetTypeAttr(
   [out] LPTYPEATTR* ppTypeAttr,
   [out] DWORD* pReserved
 );
</pre></div>
</dd></dl><p><b>ppTypeAttr: </b>MUST be set to a TYPEATTR
structure whose data values describe the type associated with the ITypeInfo
server, as specified in section 2.2.44.</p><p><b>pReserved: </b>MUST be set to 0 and ignored on
receipt.</p><p><b>Return Values: </b>The method MUST return
information in an <b>HRESULT</b> data structure, defined in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>
section <a href="../ms-erref/0642cb2f-2075-4469-918c-4441e69c548a" data-linktype="relative-path">2.1</a>.
The severity bit in the structure identifies the following conditions:</p><ul><li><p><span><span> 
</span></span>If the severity bit is set to 0, the method completed
successfully.</p>
</li><li><p><span><span> 
</span></span>If the severity bit is set to 1, the method failed and
encountered a fatal error.</p>
</li></ul></div>