3.17.4.1.70 IsLastInTransaction (Opnum 76)

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

 [propget] HRESULT IsLastInTransaction(
   [out, retval] short* pisLastInXact
 );

pisLastInXact: A pointer to a short that specifies whether the message was the last sent by the transaction.

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:

  • If the represented Message.LastInTransaction is True:

    • Set the pisLastInXact output parameter to 0x0001.

  • Else:

    • Set the pisLastInXact output parameter to 0x0000.