- Timestamp:
- Sep 1, 1999, 1:48:36 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/HandleManager.cpp
r768 r769 1 /* $Id: HandleManager.cpp,v 1.1 8 1999-08-31 23:14:02phaller Exp $ */1 /* $Id: HandleManager.cpp,v 1.19 1999-08-31 23:48:36 phaller Exp $ */ 2 2 3 3 /* … … 2313 2313 TabWin32Handles[iIndexNew].hmHandleData.hHMHandle = INVALID_HANDLE_VALUE; 2314 2314 SetLastError(rc); /* Hehe, OS/2 and NT are pretty compatible :) */ 2315 return ( INVALID_HANDLE_VALUE);/* signal error */2315 return (NULL); /* signal error */ 2316 2316 } 2317 2317 … … 2325 2325 * Parameters: 2326 2326 * Variables : 2327 * Result : 2327 * Result : HANDLE if succeeded, 2328 * NULL if failed. 2328 2329 * Remark : 2329 2330 * Status : … … 2349 2350 { 2350 2351 SetLastError(ERROR_NOT_ENOUGH_MEMORY); /* use this as error message */ 2351 return ( INVALID_HANDLE_VALUE);/* signal error */2352 return (NULL); /* signal error */ 2352 2353 } 2353 2354 … … 2371 2372 /* call the device handler */ 2372 2373 rc = pDeviceHandler->OpenFileMapping(&TabWin32Handles[iIndexNew].hmHandleData, 2373 2374 fdwAccess, 2374 2375 fInherit, 2375 2376 lpName); … … 2378 2379 TabWin32Handles[iIndexNew].hmHandleData.hHMHandle = INVALID_HANDLE_VALUE; 2379 2380 SetLastError(rc); /* Hehe, OS/2 and NT are pretty compatible :) */ 2380 return ( INVALID_HANDLE_VALUE);/* signal error */2381 return (NULL); /* signal error */ 2381 2382 } 2382 2383
Note:
See TracChangeset
for help on using the changeset viewer.