IBDA_IPSinkInfo::get_AdapterIPAddress Method

This interface is available for use in the Microsoft Windows 2000, Windows XP, and Windows Server 2003 operating systems. It may be altered or unavailable in subsequent versions.
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.

Syntax

HRESULT get_AdapterIPAddress(
  [out]  BSTR *pbstrBuffer
);

Parameters

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

Return Value

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

Remarks

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

Requirements

Header Declared in Bdaiface.h.

See Also

Error and Success Codes
IBDA_IPSinkInfo Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008