Changeset 9892 for trunk/src/kernel32/Fileio.cpp
- Timestamp:
- Mar 3, 2003, 5:39:53 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/Fileio.cpp
r9846 r9892 1 /* $Id: Fileio.cpp,v 1.7 0 2003-02-24 11:40:45sandervl Exp $ */1 /* $Id: Fileio.cpp,v 1.71 2003-03-03 16:39:53 sandervl Exp $ */ 2 2 3 3 /* … … 35 35 #include "handlemanager.h" 36 36 #include "oslibdos.h" 37 #include "oslibwps.h" 37 38 38 39 #define DBG_LOCALLOG DBG_fileio … … 637 638 } 638 639 #endif 640 641 if(lpszFile == NULL) { 642 SetLastError(ERROR_INVALID_PARAMETER); //?? 643 return FALSE; 644 } 645 //If the app is deleting a shellink file (.lnk), then we must delete the WPS object 646 if(OSLibIsShellLink((LPSTR)lpszFile)) 647 { 648 OSLibWinDeleteObject((LPSTR)lpszFile); 649 } 650 639 651 rc = OSLibDosDelete((LPSTR)lpszFile); 640 652 if(!rc) {
Note:
See TracChangeset
for help on using the changeset viewer.