Changeset 21732 for branches/gcc-kmk/src/kernel32/oslibdos.cpp
- Timestamp:
- Oct 21, 2011, 5:13:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/kernel32/oslibdos.cpp
r21675 r21732 98 98 static ULONG crc32str(const char *psz); 99 99 100 char* ODINHelperStripUNC(char*strUNC)101 { 102 char *retStr = strUNC;100 LPCSTR ODINHelperStripUNC(LPCSTR strUNC) 101 { 102 LPCSTR retStr = strUNC; 103 103 104 104 if (!strUNC) return NULL; … … 460 460 //****************************************************************************** 461 461 //****************************************************************************** 462 DWORD OSLibDosOpen( char *lpszFileName, DWORD flags)462 DWORD OSLibDosOpen(LPCSTR lpszFileName, DWORD flags) 463 463 { 464 464 APIRET rc; … … 721 721 //****************************************************************************** 722 722 //****************************************************************************** 723 BOOL OSLibDosDelete( char *lpszFileName)723 BOOL OSLibDosDelete(LPCSTR lpszFileName) 724 724 { 725 725 APIRET rc; … … 850 850 DWORD WIN32API GetEnvironmentVariableA(LPCSTR, LPSTR, DWORD ); 851 851 //****************************************************************************** 852 DWORD OSLibDosSearchPath(DWORD cmd, char *path, char *name, char *full_name,853 DWORD length_fullname)852 DWORD OSLibDosSearchPath(DWORD cmd, LPCSTR path, LPCSTR name, 853 LPSTR full_name, DWORD length_fullname) 854 854 { 855 855 switch(cmd) { … … 947 947 APIRET rc = ERROR_NOT_ENOUGH_MEMORY; 948 948 949 CHAR*lpszFileLoc = ODINHelperStripUNC(lpszFile);949 LPCSTR lpszFileLoc = ODINHelperStripUNC(lpszFile); 950 950 951 951 //TODO: lpSecurityAttributes (inheritance)
Note:
See TracChangeset
for help on using the changeset viewer.