3.17.4.1.36 HashAlgorithm (Opnum 42)

The HashAlgorithm method is received by the server in an RPC_REQUEST packet. In response, the server MUST return the represented Message.HashAlgorithm.

 [propget] HRESULT HashAlgorithm(
   [out, retval] long* plHashAlg
 );

plHashAlg: A pointer to a long integer that identifies the type of hash algorithm that will be used. This parameter corresponds to the MQCALG (section 2.2.2.18) enum.

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

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

  • Set the plHashAlg output parameter to the MQCALG enum that maps to the value of the represented Message.HashAlgorithm.