From 2ff607384bf523c5cfde356b34db39871cec0221 Mon Sep 17 00:00:00 2001 From: Ismael Barros Date: Mon, 11 Aug 2008 04:06:53 +0200 Subject: [PATCH] dplayx: System players are the ones who must not be listed The name server is a system player, and the server player is just another normal player --- dlls/dplayx/dplay.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index 79677c1d73a..bf49d8f9ecb 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -2164,12 +2164,10 @@ static HRESULT DP_IF_EnumGroupPlayers /* Walk the players in this group */ for( ;; ) { - /* We do not enum the name server or app server as they are of no + /* We do not enum any system players as they are of no * consequence to the end user. */ - if( ( lpPList->lpPData->dpid != DPID_NAME_SERVER ) && - ( lpPList->lpPData->dpid != DPID_SERVERPLAYER ) - ) + if( lpPList->lpPData->dwFlags & DPLAYI_PLAYER_SYSPLAYER ) { /* FIXME: Need to add stuff for dwFlags checking */ -- 2.11.4.GIT