3.1.4.2 TerminateSession (Opnum 8)
The TerminateSession method terminates a telnet session.
-
HRESULT TerminateSession( [in] DWORD dwUniqueId );
dwUniqueId: The ID of the session. The ID of a session can be obtained by calling the GetTelnetSessions method or can be user provided. The server MUST ensure that at any given point in time only one telnet session exists with a particular ID. Refer to Section 3.1.1 for an abstract data model that the server can maintain.
Return Values: The server MUST return zero if the method is successful. The server MUST return 0x01 if processing fails. These are in addition to the values that can be returned by the underlying [MS-DCOM] implementation.
Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying DCOM protocol [MS-DCOM].