source: trunk/src/kernel32/fileio.h@ 22018

Last change on this file since 22018 was 9011, checked in by sandervl, 23 years ago

PF: Fully implemented GetShortPathNameA/W & GetLongPathNameA/W

File size: 503 bytes
Line 
1/* $Id: fileio.h,v 1.2 2002-08-16 09:56:30 sandervl Exp $ */
2
3#ifndef __FILEIO_H__
4#define __FILEIO_H__
5
6static void DOSFS_Hash( LPCSTR name, LPSTR buffer, BOOL dir_format,
7 BOOL ignore_case = TRUE);
8
9/* locale-independent case conversion */
10inline static char FILE_tolower( char c )
11{
12 if (c >= 'A' && c <= 'Z') c += 32;
13 return c;
14}
15inline 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
24#endif
Note: See TracBrowser for help on using the repository browser.