Terminates an active connection.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsServer_Disconnect(pServer, address, blacklist) |
C++ | HRESULT Disconnect(address, blacklist) |
Pointer to an IltmsServer interface.
String containing the IP address of the client to disconnect.
Boolean value that indicates whether the client should be black-listed from future connections.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
Win32, x64.
For a C++ example, refer to Blacklist Client Example for C++.