Changeset 6090 for trunk/src/kernel32/directory.cpp
- Timestamp:
- Jun 24, 2001, 4:13:05 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/directory.cpp
r5819 r6090 1 /* $Id: directory.cpp,v 1.3 6 2001-05-28 16:23:42 phallerExp $ */1 /* $Id: directory.cpp,v 1.37 2001-06-24 14:13:04 sandervl Exp $ */ 2 2 3 3 /* … … 144 144 int rc; 145 145 146 rc = O32_GetCurrentDirectory(nBufferLength, asciidir);146 rc = CALL_ODINFUNC(GetCurrentDirectoryA)(nBufferLength, asciidir); 147 147 if(rc != 0) 148 148 AsciiToUnicode(asciidir, lpBuffer); … … 507 507 508 508 509 ODINFUNCTION1(BOOL, RemoveDirectoryA, 510 LPCSTR, lpstrDirectory) 509 ODINFUNCTION1(BOOL, RemoveDirectoryA, LPCSTR, lpstrDirectory) 511 510 { 512 511 int len = strlen(lpstrDirectory); 513 512 513 if(lpstrDirectory == NULL) { 514 SetLastError(ERROR_INVALID_PARAMETER); 515 return FALSE; 516 } 514 517 // cut off trailing backslashes 515 518 if ( (lpstrDirectory[len - 1] == '\\') || … … 523 526 } 524 527 525 dprintf(("RemoveDirectory %s", 526 lpstrDirectory)); 527 528 return O32_RemoveDirectory(lpstrDirectory); 528 dprintf(("RemoveDirectory %s", lpstrDirectory)); 529 530 return OSLibDosRemoveDir(lpstrDirectory); 529 531 } 530 532
Note:
See TracChangeset
for help on using the changeset viewer.