Share via


IBDA_IPSinkControl::GetAdapterIPAddress 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 GetAdapterIPAddress method retrieves the IP address of the NIC.

Syntax

HRESULT GetAdapterIPAddress(
  [out] unsigned long *pulcbSize,
  [out] BYTE          **pbBuffer
);

Parameters

[out] pulcbSize

Receives the length of the buffer, in bytes.

[out] pbBuffer

Pointer to a byte array containing the address.

Return value

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

Remarks

IBDA_IPSinkControl is no longer being supported for Ring 3 clients. Use the BDA_IPSinkInfo interface instead.

Requirements

   
Target Platform Windows
Header bdaiface.h

See also

Error and Success Codes

IBDA_IPSinkControl Interface