Microsoft DirectX 8.1 (C++) |
Sets the current object's internal address to be the DirectPlay 8 equivalent of the specified DirectPlay 4 address. The purpose of this method is to allow lobby developers to launch games with the new Microsoft® DirectPlay® interface using the old lobby code.
This method enumerates the address components in the specified address and adds the corresponding element to the DirectPlay 8 address.
HRESULT BuildFromDPADDRESS( LPVOID pvAddress, DWORD dwDataSize );
Returns S_OK if successful, or one of the following error values.
DPNERR_INVALIDADDRESSFORMAT |
DPNERR_INVALIDOBJECT |
DPNERR_INVALIDPOINTER |
This method builds a DirectPlay 8 address from a DirectPlay4 address. This method will clear the current address of all elements before building the new address.
This method has the following limitations.
Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
Windows 98/Me: Available as a redistributable for Windows 98 and later.
Header: Declared in Dpaddr.h.