DirectX SDK

EnumAddressTypeCallback

EnumAddressTypeCallback is an application-defined callback function for the IDirectPlayLobby3::EnumAddressTypes method.

BOOL FAR PASCAL EnumAddressTypeCallback(
  REFGUID guidDataType,
  LPVOID lpContext,
  DWORD dwFlags
);

Parameters

guidDataType
Pointer to a globally unique identifier (GUID) indicating the address type. (In C++, it is a reference to the GUID.) Predefined address types are DPAID_Phone, DPAID_INet, and DPAID_ComPort. For more information about these address types, see DirectPlay Address.
lpContext
Context passed to the callback function.
dwFlags
Reserved; do not use.

Return Values

Returns TRUE to continue the enumeration or FALSE to stop it.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in dplay.h.