3.17.4.1.28 Ack (Opnum 34)

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

 [propget] HRESULT Ack(
   [out, retval] long* plAck
 );

plAck: A pointer to a long integer that identifies the type of acknowledgments requested for this message. This parameter corresponds to the MQMSGACKNOWLEDGEMENT (section 2.2.2.11) 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 plAck output parameter to the MQMSGACKNOWLEDGEMENT enum that maps to the value of the represented Message.AcknowledgementsRequested.