Microsoft DirectX 8.0 (C++) |
Retrieves the remote address information from a remote DirectPlay 8 IP address. To succeed, the contained address must have at least the following elements.
HRESULT GetAddress( WCHAR* wszAddress, PDWORD pdwAddressLength, USHORT* psPort );
Returns S_OK if successful, or one of the following error values.
DPNERR_BUFFERTOOSMALL |
DPNERR_INVALIDPARAM |
DPNERR_INVALIDPOINTER |
Windows NT/2000: Available as a redistributable for Windows 2000 and later.
Windows 95/98: Available as a redistributable for Windows 95 and later.
Header: Declared in Dpaddr.h.