<div class="content" name="RemoteQmGetVersion" uuid="6f06f8a6-006d-4993-b0c9-c2e899e6146b"><p>The RemoteQmGetVersion method retrieves the <a href="33b1ac82-69ab-413c-9415-cd6f45d77156#gt_70ce3665-ae64-44b4-88fe-7c1dcdcd5417" data-linktype="relative-path">Message queuing</a> version of
the server; this method is called before the <a href="0dbcb6fd-ed56-44c3-9c02-e9fa2d7798b3" data-linktype="relative-path">RemoteQMOpenQueue</a> method.<a id="Appendix_A_Target_21"></a><a aria-label="Product behavior note 21" href="d6c5ba0a-aaf8-489d-baf2-fdc286b4bea4#Appendix_A_21" data-linktype="relative-path">&lt;21&gt;</a></p><dl>
<dd>
<div><pre> void RemoteQmGetVersion(
   [in] handle_t hBind,
   [out] unsigned char* pMajor,
   [out] unsigned char* pMinor,
   [out] unsigned  short* pBuildNumber
 );
</pre></div>
</dd></dl><p><b>hBind: </b>MUST be set to an <a href="33b1ac82-69ab-413c-9415-cd6f45d77156#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a> binding handle, as
specified in <a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a>
section <a href="../ms-rpce/a01f5886-c485-4bcf-bb23-e0d755510ab7" data-linktype="relative-path">2</a>.</p><p><b>pMajor: </b>A pointer to an unsigned character.
The server SHOULD<a id="Appendix_A_Target_22"></a><a aria-label="Product behavior note 22" href="d6c5ba0a-aaf8-489d-baf2-fdc286b4bea4#Appendix_A_22" data-linktype="relative-path">&lt;22&gt;</a> set this parameter to 0x06.</p><p><b>pMinor: </b>A pointer to an unsigned character.
The server SHOULD<a id="Appendix_A_Target_23"></a><a aria-label="Product behavior note 23" href="d6c5ba0a-aaf8-489d-baf2-fdc286b4bea4#Appendix_A_23" data-linktype="relative-path">&lt;23&gt;</a> set this parameter to 0x01.</p><p><b>pBuildNumber: </b>A pointer to an unsigned short.
The server SHOULD<a id="Appendix_A_Target_24"></a><a aria-label="Product behavior note 24" href="d6c5ba0a-aaf8-489d-baf2-fdc286b4bea4#Appendix_A_24" data-linktype="relative-path">&lt;24&gt;</a> set this parameter to an
implementation-specific build number.</p><p><b>Return Values: </b>This method has no return values.</p><p><b>Exceptions Thrown:</b> No exceptions are thrown except
those thrown by the underlying RPC protocol, as specified in [MS-RPCE].</p></div>