Microsoft DirectX 8.1 (C++)

IBDA_IPSinkControl::GetAdapterIPAddress

The GetAdapterIPAddress method retrieves the IP address of the NIC.

Syntax

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

Parameters

  pulcbSize

[out]  Pointer to a variable that receives the length of the buffer, in bytes.

  pbBuffer

[out]  Pointer to a byte array containing the address.

Return Values

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 Ring3 clients. Use the BDA_IPSinkInfo interface instead.

See Also