IDirectPlayLobby2::EnumAddress

Parses out chunks from the DirectPlay Address buffer.

HRESULT EnumAddress(
LPDPENUMADDRESSCALLBACK lpEnumAddressCallback,
LPCVOID lpAddress,
DWORD dwAddressSize,
LPVOID lpContext
);

Parameters

lpEnumAddressCallback

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

lpAddress

Pointer to the start of the DirectPlay Address buffer.

dwAddressSize

Size of the DirectPlay Address.

lpContext

Context that will be passed to the callback function.

Return Values

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

DPERR_EXCEPTION

DPERR_INVALIDOBJECT

DPERR_INVALIDPARAMS

Remarks

For more information about the DirectPlay Address, see DirectPlay Address.

See Also

IDirectPlayLobby2::CreateAddress