Microsoft DirectX 9.0


The get_AdapterIPAddress method retrieves the IP address of the data that the IP Sink filter receives. This address is assigned by the system; it is not guaranteed to be the same for any two instances of the IP Sink filter.


HRESULT get_AdapterIPAddress(
  BSTR*  pbstrBuffer



[out]  Pointer to a BSTR that receives the IP address. The returned string has the form N.N.N.N; for example,

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.


The caller must free the returned string, using the SysFreeString method.

See Also