- Timestamp:
- Oct 27, 1999, 12:08:33 PM (26 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/HandleManager.cpp
r780 r1472 1 /* $Id: HandleManager.cpp,v 1.2 0 1999-09-01 19:12:16phaller Exp $ */1 /* $Id: HandleManager.cpp,v 1.21 1999-10-27 10:08:32 phaller Exp $ */ 2 2 3 3 /* … … 716 716 return FALSE; /* signal error */ 717 717 } 718 else 719 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 720 718 721 *desthandle = iIndexNew; 719 722 return TRUE; /* return valid handle */ … … 833 836 else 834 837 { 838 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 839 835 840 /* copy data fields that might have been modified by CreateFile */ 836 841 memcpy(&TabWin32Handles[iIndexNew].hmHandleData, … … 956 961 return (INVALID_HANDLE_VALUE); /* signal error */ 957 962 } 963 else 964 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 958 965 959 966 #ifdef DEBUG_LOCAL … … 1016 1023 1017 1024 if (fResult == TRUE) /* remove handle if close succeeded */ 1025 { 1018 1026 pHMHandle->hmHandleData.hHMHandle = 0; /* mark handle as free */ 1027 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 1028 } 1019 1029 1020 1030 return (fResult); /* deliver return code */ … … 1873 1883 return (INVALID_HANDLE_VALUE); /* signal error */ 1874 1884 } 1885 else 1886 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 1875 1887 1876 1888 return iIndexNew; /* return valid handle */ … … 1939 1951 return (INVALID_HANDLE_VALUE); /* signal error */ 1940 1952 } 1953 else 1954 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 1941 1955 1942 1956 return iIndexNew; /* return valid handle */ … … 2004 2018 return (INVALID_HANDLE_VALUE); /* signal error */ 2005 2019 } 2020 else 2021 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 2006 2022 2007 2023 return iIndexNew; /* return valid handle */ … … 2069 2085 return (INVALID_HANDLE_VALUE); /* signal error */ 2070 2086 } 2087 else 2088 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 2071 2089 2072 2090 return iIndexNew; /* return valid handle */ … … 2137 2155 return (INVALID_HANDLE_VALUE); /* signal error */ 2138 2156 } 2157 else 2158 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 2139 2159 2140 2160 return iIndexNew; /* return valid handle */ … … 2202 2222 return (INVALID_HANDLE_VALUE); /* signal error */ 2203 2223 } 2224 else 2225 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 2204 2226 2205 2227 return iIndexNew; /* return valid handle */ … … 2234 2256 return (INVALID_HANDLE_ERROR); /* signal failure */ 2235 2257 } 2258 else 2259 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 2236 2260 2237 2261 pHMHandle = &TabWin32Handles[iIndex]; /* call device handler */ … … 2315 2339 return (NULL); /* signal error */ 2316 2340 } 2341 else 2342 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 2317 2343 2318 2344 return iIndexNew; /* return valid handle */ … … 2381 2407 return (NULL); /* signal error */ 2382 2408 } 2409 else 2410 SetLastError(ERROR_SUCCESS); //@@@PH 1999/10/27 rc5desg requires this? 2383 2411 2384 2412 return iIndexNew; /* return valid handle */ -
trunk/src/kernel32/kernel32exp.def
r1146 r1472 418 418 _ReadProcessMemory@20 @579 419 419 _RegisterServiceProcess@8 @580 420 _ReinitializeCriticalSection@4 @581 420 421 _ReleaseMutex@4 @582 421 422 _ReleaseSemaphore@12 @583 … … 598 599 WriteLog @1202 599 600 WriteLogError @1214 600 _RegisterPe2LxExe@ 48@1203601 _RegisterPe2LxDll@ 48@1209601 _RegisterPe2LxExe@12 @1203 602 _RegisterPe2LxDll@12 @1209 602 603 _CreateWin32PeLdrExe@8 @1236 603 604 _RegisterLxExe@8 @1237 … … 644 645 OS2SetExceptionHandler @1253 645 646 OS2UnsetExceptionHandler @1254 646 __ct__12Win32MenuResFP14Win32ImageBaseUlN22 @1260 647 __ct__12Win32MenuResFP14Win32ImageBaseUlN22Pc @1261 648 __ct__12Win32MenuResFUl @1262 649 __ct__12Win32MenuResFPv @1263 647 _PROFILE_GetOdinIniString@20 @1264 648 _PROFILE_SetOdinIniString@12 @1265 649 _PROFILE_GetOdinIniInt@12 @1266 650 _PROFILE_SetOdinIniInt@12 @1267 651 _PROFILE_GetOdinIniBool@12 @1268 652 _PROFILE_SetOdinIniBool@12 @1269 653 _PROFILE_SaveOdinIni@0 @1270
Note:
See TracChangeset
for help on using the changeset viewer.