NWTTSTransactionStatus

Verifies whether a transaction has been written to disk

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Transaction Tracking System (TTS)

Syntax

  #include <nwtts.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API NWTTSTransactionStatus ( 
     NWCONN_HANDLE   conn,  
     nuint32         transactionNum); 
  

Delphi Syntax

  uses calwin32 
   
  Function NWTTSTransactionStatus 
    (conn : NWCONN_HANDLE; 
     transactionNum : nuint32 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
transactionNum
(IN) Specifies the transaction reference number (obtained from NWTTSEndTransaction).

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x89FF

Transaction not written to disk

Remarks

NWTTSTransactionStatus can be called even if NWTTSEndTransaction returns TTS_DISABLED.

Applications should not wait for transactions to be written to disk unless it is absolutely necessary. Because the NetWare server caches algorithms, it may be up to five seconds before they are actually written. Transactions are written to disk in the order in which they terminate.

NCP Calls

See Also

NWTTSEndTransaction