次の方法で共有


IBDA_IPSinkInfo::get_AdapterIPAddress method (bdaiface.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

[out] pbstrBuffer

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

Requirement Value
Target Platform Windows
Header bdaiface.h

See also

Error and Success Codes

IBDA_IPSinkInfo Interface