Last change
on this file was 9011, checked in by sandervl, 23 years ago |
PF: Fully implemented GetShortPathNameA/W & GetLongPathNameA/W
|
File size:
503 bytes
|
Rev | Line | |
---|
[9011] | 1 | /* $Id: fileio.h,v 1.2 2002-08-16 09:56:30 sandervl Exp $ */
|
---|
[6511] | 2 |
|
---|
| 3 | #ifndef __FILEIO_H__
|
---|
| 4 | #define __FILEIO_H__
|
---|
| 5 |
|
---|
[9011] | 6 | static void DOSFS_Hash( LPCSTR name, LPSTR buffer, BOOL dir_format,
|
---|
[6511] | 7 | BOOL ignore_case = TRUE);
|
---|
| 8 |
|
---|
[9011] | 9 | /* locale-independent case conversion */
|
---|
| 10 | inline static char FILE_tolower( char c )
|
---|
| 11 | {
|
---|
| 12 | if (c >= 'A' && c <= 'Z') c += 32;
|
---|
| 13 | return c;
|
---|
| 14 | }
|
---|
| 15 | inline static char FILE_toupper( char c )
|
---|
| 16 | {
|
---|
| 17 | if (c >= 'a' && c <= 'z') c -= 32;
|
---|
| 18 | return c;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | #define MAX_PATHNAME_LEN 1024
|
---|
| 23 |
|
---|
[6511] | 24 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.