3.17.4.1.37 HashAlgorithm (Opnum 43)

msdn link

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

 [propput] HRESULT HashAlgorithm(
   [in] long lHashAlg
 );

lHashAlg: 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 represented Message.HashAlgorithm to the value that maps to the MQCALG enum contained in the lHashAlg input parameter.