Create a Variant object which contains a reference to the data being transferred.
<p>When creating a VT_BYREF Variant, you must give the full Variant type including VT_BYREF such as
<pre><code>short byRefType = OLE.VT_BSTR | OLE.VT_BYREF</code></pre>.
@param ptr a pointer to the data being transferred. @param byRefType the type of the data being transferred such as OLE.VT_BSTR | OLE.VT_BYREF
See Implementation
Create a Variant object which contains a reference to the data being transferred.
<p>When creating a VT_BYREF Variant, you must give the full Variant type including VT_BYREF such as
<pre><code>short byRefType = OLE.VT_BSTR | OLE.VT_BYREF</code></pre>.
@param ptr a pointer to the data being transferred. @param byRefType the type of the data being transferred such as OLE.VT_BSTR | OLE.VT_BYREF