IBDA_IPSinkControl::GetAdapterIPAddress
Microsoft DirectShow 9.0 |
IBDA_IPSinkControl::GetAdapterIPAddress
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( unsigned long *pulcbSize, BYTE** pbBuffer );
Parameters
pulcbSize
[out] 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 Ring 3 clients. Use the BDA_IPSinkInfo interface instead.
Requirements
Header: Include bdaiface.h.
See Also