>long</span>.  For example:
<pre>
HRESULT _stdcall Open();
</pre><p>
results in the VB version having the signature <span class="code">Sub Open()</span>, which will throw
an error if the <span class="code">HRESULT</span> is an error.
</p><pre>
long _stdcall Open();
</pre><p>
Would result in a VB version <span class="code">Function Open() As Long</span>, which allows you to 
get the result code from the return value.
</p></li></ul><p>
The final ODL for this interface then becomes:
</p><pre>
   // -----------