3.2.4.2.3 MSMQVersionMajor (Opnum 10)

The MSMQVersionMajor method is received by the server in an RPC_REQUEST packet. In response, the serverMUST return the major version number of the server.

 [propget] HRESULT MSMQVersionMajor(
   [out, retval] short* psMSMQVersionMajor
 );

psMSMQVersionMajor: A pointer to a short that when successfully completed, contains the major version number of the server.

Return Values: The method MUST return S_OK (0x00000000) to indicate success or an implementation-specific error HRESULT on failure.

When processing this call, the server MUST follow these guidelines:

  • If the ComputerName instance variable is not NULL, return MQ_ERROR_INVALID_PARAMETER (0xC00E0006) and take no further action.

  • Set the psMSMQVersionMajor output variable to the major version number<13> of the server.