DirectPlay Animated Header -- IDirectPlayLobby2::EnumAddress DirectPlay Animated Header -- IDirectPlayLobby2::EnumAddress* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: IDirectPlayLobby2::CreateCompoundAddress
*Next Topic: IDirectPlayLobby2::EnumAddressTypes


IDirectPlayLobby2::EnumAddress


IDirectPlayLobby2 Interface

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

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

*Top of Page