Changeset 2249 for trunk/src/kernel32/HandleManager.cpp
- Timestamp:
- Dec 29, 1999, 2:04:52 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/HandleManager.cpp
r2129 r2249 1 /* $Id: HandleManager.cpp,v 1.3 1 1999-12-18 21:45:53 sandervlExp $ */1 /* $Id: HandleManager.cpp,v 1.32 1999-12-29 13:04:52 phaller Exp $ */ 2 2 3 3 /* … … 2521 2521 if (pArrayOfHandles == NULL) 2522 2522 { 2523 dprintf(("ERROR: HMWaitForMultipleObjects: alloca failed to allocate %d handles", cObjects)); 2524 O32_SetLastError(ERROR_NOT_ENOUGH_MEMORY); 2525 return WAIT_FAILED; 2526 } 2527 else pLoop2 = pArrayOfHandles; 2523 dprintf(("ERROR: HMWaitForMultipleObjects: alloca failed to allocate %d handles", cObjects)); 2524 O32_SetLastError(ERROR_NOT_ENOUGH_MEMORY); 2525 return WAIT_FAILED; 2526 } 2527 else 2528 pLoop2 = pArrayOfHandles; 2528 2529 2529 2530 // convert array to odin handles … … 2539 2540 pLoop2); 2540 2541 2542 dprintf(("KERNEL32: HMWaitForMultipleObjects: handle %3i: ODIN-%08xh, Open32-%08xh\n", 2543 ulIndex, 2544 *pLoop1, 2545 *pLoop2)); 2546 2547 // @@@PH to imlpement: check handle type! 2548 2541 2549 if (rc != NO_ERROR) 2542 2550 { 2551 dprintf(("KERNEL32: HMWaitForMultipleObjects - ERROR: handle %08xh is NOT an Open32 handle (not yet implemented)\n", 2552 *pLoop1)); 2553 2543 2554 O32_SetLastError(ERROR_INVALID_HANDLE); 2544 2555 return (WAIT_FAILED);
Note:
See TracChangeset
for help on using the changeset viewer.