Ignore:
Timestamp:
Oct 6, 2000, 9:49:06 PM (25 years ago)
Author:
hugh
Message:

Updated to latest WINE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DPlayX/dplobby.cpp

    r4317 r4446  
    1 // $Id: dplobby.cpp,v 1.2 2000-09-24 22:47:38 hugh Exp $
     1// $Id: dplobby.cpp,v 1.3 2000-10-06 19:49:05 hugh Exp $
    22/* Direct Play Lobby 2 & 3 Implementation
    33 *
     
    2828DEFAULT_DEBUG_CHANNEL(dplay)
    2929
     30#undef  debugstr_guid
    3031#define debugstr_guid(a) a
    3132
     
    11481149{
    11491150  /* These are the handles for the created process */
    1150   HANDLE hAppStart, hAppDeath, hAppRead;
     1151  HANDLE hAppStart, hAppDeath, hAppRead, hTemp;;
    11511152  SECURITY_ATTRIBUTES s_attrib;
    11521153
     
    11561157
    11571158  /* FIXME: Is there a handle leak here? */
    1158   *lphStart = CreateEventA( &s_attrib, TRUE, FALSE, NULL );
    1159   *lphDeath = CreateEventA( &s_attrib, TRUE, FALSE, NULL );
    1160   *lphRead  = CreateEventA( &s_attrib, TRUE, FALSE, NULL );
     1159  hTemp = CreateEventA( &s_attrib, TRUE, FALSE, NULL );
     1160  *lphStart = ConvertToGlobalHandle( hTemp );
     1161
     1162  hTemp = CreateEventA( &s_attrib, TRUE, FALSE, NULL );
     1163  *lphDeath = ConvertToGlobalHandle( hTemp );
     1164
     1165  hTemp = CreateEventA( &s_attrib, TRUE, FALSE, NULL );
     1166  *lphRead  = ConvertToGlobalHandle( hTemp );
    11611167
    11621168  if( ( !DuplicateHandle( GetCurrentProcess(), *lphStart,
Note: See TracChangeset for help on using the changeset viewer.