<div class="content" name="GetTypeKind" uuid="6a03300e-bd2d-45e4-b15e-2a4c121554e5"><p>The GetTypeKind method returns the TYPEKIND value associated
with the <a href="5583e1b8-454c-4147-9f56-f72416a15bee#gt_fb6a1829-c102-482c-902f-51c197b22860" data-linktype="relative-path">automation type
description</a>.</p><dl>
<dd>
<div><pre> HRESULT GetTypeKind(
   [out] TYPEKIND* pTypeKind
 );
</pre></div>
</dd></dl><p><b>pTypeKind: </b>MUST be set to the TYPEKIND value
associated with the automation type description, as specified in section <a href="78ccbd1c-d8ff-4301-9afc-df562372fb33" data-linktype="relative-path">2.2.17</a>.</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>