- Timestamp:
- Mar 12, 2001, 3:16:33 PM (24 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/directory.cpp
r4847 r5303 1 /* $Id: directory.cpp,v 1.3 4 2000-12-28 18:17:56sandervl Exp $ */1 /* $Id: directory.cpp,v 1.35 2001-03-12 14:16:33 sandervl Exp $ */ 2 2 3 3 /* … … 691 691 lstrcpynA( buffer, (LPSTR)full_name, buflen); 692 692 SetLastError(0); 693 return strlen( buffer);693 return strlen(full_name); 694 694 } 695 695 … … 714 714 lstrcpynAtoW( buffer, full_name, buflen); 715 715 SetLastError(0); 716 return strlen(full_name);717 } 716 return ret; 717 } -
trunk/src/kernel32/hmstd.cpp
r5019 r5303 1 /* $Id: hmstd.cpp,v 1. 1 2001-01-23 18:31:26sandervl Exp $ */1 /* $Id: hmstd.cpp,v 1.2 2001-03-12 14:16:33 sandervl Exp $ */ 2 2 3 3 /* … … 70 70 { 71 71 BOOL bRC; 72 DWORD bytesread; 72 73 73 74 dprintf2(("KERNEL32: HMDeviceStandardClass::ReadFile %s(%08x,%08x,%08x,%08x,%08x) - NOT IMPLEMENTED\n", … … 80 81 81 82 82 return FALSE; 83 if(lpNumberOfBytesRead == NULL) { 84 lpNumberOfBytesRead = &bytesread; 85 } 86 if(pHMHandleData->dwUserData != STD_INPUT_HANDLE) { 87 return FALSE; 88 } 89 return O32_ReadFile(pHMHandleData->hHMHandle, (LPVOID)lpBuffer, nNumberOfBytesToRead, 90 lpNumberOfBytesRead, lpOverlapped); 83 91 } 84 92 -
trunk/src/kernel32/winimagepeldr.cpp
r5266 r5303 1 /* $Id: winimagepeldr.cpp,v 1.6 8 2001-02-25 16:05:39sandervl Exp $ */1 /* $Id: winimagepeldr.cpp,v 1.69 2001-03-12 14:16:33 sandervl Exp $ */ 2 2 3 3 /* … … 1675 1675 if(WinDll == NULL) 1676 1676 { //not found, so load it 1677 WinDll = loadDll(pszCurModule); 1677 if (WinExe != NULL && WinExe->matchModName(pszCurModule)) { 1678 WinImage = (Win32ImageBase *)WinExe; 1679 } 1680 else { 1681 WinDll = loadDll(pszCurModule); 1682 } 1678 1683 } 1679 1684 else { … … 1681 1686 dprintf((LOG, "Already found ", pszCurModule)); 1682 1687 } 1683 if(WinDll == NULL) { 1684 //TODO: might not be the right order (check executable first and only then dll??) 1685 if (WinExe != NULL && WinExe->matchModName(pszCurModule)) { 1686 WinImage = (Win32ImageBase *)WinExe; 1687 } 1688 else return FALSE; 1689 } 1690 else { 1688 if(WinDll != NULL) { 1691 1689 //add the dll we just loaded to dependency list for this image 1692 1690 addDependency(WinDll);
Note:
See TracChangeset
for help on using the changeset viewer.