BOOL EnumPlayersCallback(DPID dpID,
LPSTR lpFriendlyName, LPSTR lpFormalName,
DWORD dwFlags, LPVOID lpContext);
Application-defined callback procedure for the IDirectPlay::EnumGroups, IDirectPlay::EnumGroupPlayers, and IDirectPlay::EnumPlayers methods.
·Returns TRUE to continue the enumeration or FALSE to stop it.
dpID
Player ID of the group being enumerated.
lpFriendlyName
Address for the zero-terminated string that contains the friendly name of the group.
lpFormalName
Address for the zero-terminated string that contains the formal name of the group.
dwFlags
Specifies the optional control flags.
Specifies that group names and player names should be enumerated.
Specifies that only local player names need to be enumerated.
Specifies that only remote player names need to be enumerated.
lpContext
Address for a caller-defined context.