Ignore:
Timestamp:
Aug 16, 2002, 11:56:30 AM (23 years ago)
Author:
sandervl
Message:

PF: Fully implemented GetShortPathNameA/W & GetLongPathNameA/W

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/fileio.h

    r6511 r9011  
    1 /* $Id: fileio.h,v 1.1 2001-08-10 19:32:27 sandervl Exp $ */
     1/* $Id: fileio.h,v 1.2 2002-08-16 09:56:30 sandervl Exp $ */
    22
    33#ifndef __FILEIO_H__
    44#define __FILEIO_H__
    55
    6 void DOSFS_Hash( LPCSTR name, LPSTR buffer, BOOL dir_format,
     6static void DOSFS_Hash( LPCSTR name, LPSTR buffer, BOOL dir_format,
    77                 BOOL ignore_case = TRUE);
    88
     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
    924#endif
Note: See TracChangeset for help on using the changeset viewer.