If the function succeeds the return value will be the reason why the TCP session has been closed.
The value defined in the HNTcpCloseReason
enumeration.
Description:
Use TcpSesGetCloseReason to obtain the reason why the TCP session has been closed
according to the values defined in the
HNTcpCloseReason enumeration.