NWSMReleaseTSA

Closes the connection between a TSA and an engine.

Syntax

  #include <smstsapi.h> 
   
  CCODE NWSMReleaseTSA (
     UINT32  *connection);
  

Parameters

connection

(IN) Points to the connection information returned by NWSMConnectToTSA.

Return Values

See Section 9.3, Target Service Return Values for more information.

The following table lists the return values associated with the function.

0x00000000

Successful

0xFFFDFFB9

NWSMTS_UNSUPPORTED_FUNCTION

0xFFFEFFE0

NWSMDR_CORRUPTED_STATE

0xFFFEFFE9

NWSMDR_INVALID_CONTEXT

0xFFFEFFFF

NWSMDR_INVALID_CONNECTION

Remarks

Before NWSMReleaseTSA is called, the Target Service must be released.

There is only one engine/TSA pair for each session so it is not necessary to specify the TSA when releasing the connection. connection is set to an invalid value after the connection is released.

See Also

NWSMConnectToTSA