EnumAddressTypeCallback

Application-defined callback function for the IDirectPlayLobby2::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.