Retrieves the IP address of the client.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsClient_get_IPAddress(pClient, pVal) |
C++ | HRESULT get_IPAddress(pVal) |
Pointer to an IltmsClient interface.
Pointer to a variable that receives the character string containing the IP address.
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. |
This function will return the string containing the IP address of the client.
If the function succeeds, the caller must free the returned BSTR by calling the SysFreeString function.
Win32, x64.
For a C++ example, refer to Print Clients Example for C++.