Changeset 299 for trunk/src/kernel32/Fileio.cpp
- Timestamp:
- Jul 13, 1999, 12:39:16 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/Fileio.cpp
r111 r299 1 /* $Id: Fileio.cpp,v 1. 6 1999-06-17 18:21:42 phallerExp $ */1 /* $Id: Fileio.cpp,v 1.7 1999-07-13 10:38:33 sandervl Exp $ */ 2 2 3 3 /* … … 368 368 DWORD WIN32API GetFileAttributesA(LPCSTR lpszFileName) 369 369 { 370 DWORD rc ;370 DWORD rc, error; 371 371 372 372 rc = O32_GetFileAttributes((LPSTR)lpszFileName); 373 #if 0 // need more tests, maybe there is also a better way to hide simulated b: 374 if(rc == -1 && lpszFileName != NULL && !strnicmp(lpszFileName, "B:", 2)) 375 { 376 error = GetLastError(); 377 if(error = ERROR_DISK_CHANGE) 378 SetLastError(ERROR_NOT_READY); 379 else 380 SetLastError(error); 381 } 382 #endif 373 383 dprintf(("KERNEL32: GetFileAttributes of %s returned %d\n", lpszFileName, rc)); 374 384 return(rc);
Note:
See TracChangeset
for help on using the changeset viewer.