IDirectPlayLobby3::EnumAddress

IDirectPlayLobby3 Interface

Parses out chunks from the DirectPlay Address buffer.

Syntax

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 Value

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

IDirectPlayLobby3::CreateAddress


Top of Page Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.