Share via


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

Syntax

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

Parameters

  • pulcbSize [out]
    Receives the length of the buffer, in bytes.

  • pbBuffer [out]
    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

Header Declared in Bdaiface.h.

See Also

Error and Success Codes
IBDA_IPSinkControl Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008