Changeset 4446 for trunk/src/DPlayX/dplobby.cpp
- Timestamp:
- Oct 6, 2000, 9:49:06 PM (25 years ago)
- 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:38hugh Exp $1 // $Id: dplobby.cpp,v 1.3 2000-10-06 19:49:05 hugh Exp $ 2 2 /* Direct Play Lobby 2 & 3 Implementation 3 3 * … … 28 28 DEFAULT_DEBUG_CHANNEL(dplay) 29 29 30 #undef debugstr_guid 30 31 #define debugstr_guid(a) a 31 32 … … 1148 1149 { 1149 1150 /* These are the handles for the created process */ 1150 HANDLE hAppStart, hAppDeath, hAppRead ;1151 HANDLE hAppStart, hAppDeath, hAppRead, hTemp;; 1151 1152 SECURITY_ATTRIBUTES s_attrib; 1152 1153 … … 1156 1157 1157 1158 /* 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 ); 1161 1167 1162 1168 if( ( !DuplicateHandle( GetCurrentProcess(), *lphStart,
Note:
See TracChangeset
for help on using the changeset viewer.