IDirectPlayLobby::EnumAddress

HRESULT EnumAddress(LPDPENUMADDRESS lpEnumAddressCallback,

LPCVOID lpAddress, DWORD dwAddressSize,

LPVOID lpContext);

Parses out chunks from the DirectPlay Address buffer.

·Returns DP_OK if successful, or one of the following error values otherwise:

DPERR_EXCEPTION

DPERR_INVALIDOBJECT

DPERR_INVALIDPARAMS

lpEnumAddressCallback

Address of a EnumAddressCallback function that will be called for each information chunk in the DirectPlay Address.

lpAddress

Address of the start of the DirectPlay Address buffer.

dwAddressSize

Size of the DirectPlay Address.

lpContext

Context that will be passed to the callback function.