- Timestamp:
- Jun 1, 2001, 9:49:01 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shlwapi/path.c
r5753 r5854 1641 1641 UINT WINAPI PathGetCharTypeA(UCHAR ch) 1642 1642 { 1643 FIXME("%c\n", ch); 1644 return 0; 1643 UINT flags = 0; 1644 1645 TRACE("%c\n", ch); 1646 1647 /* We could use them in filenames, but this would confuse 'ls' */ 1648 if (iscntrl(ch)) 1649 return GCT_INVALID; 1650 if ((ch == '*') || (ch=='?')) 1651 return GCT_WILD; 1652 if ((ch == '\\') || (ch=='/')) 1653 return GCT_SEPARATOR; 1654 flags = 0; 1655 /* all normal characters, no lower case letters */ 1656 if ((ch > ' ') && (ch < 0x7f) && !islower(ch)) 1657 flags |= GCT_SHORTCHAR; 1658 /* All other characters are valid in long filenames, even umlauts */ 1659 return flags | GCT_LFNCHAR; 1645 1660 } 1646 1661 … … 1650 1665 UINT WINAPI PathGetCharTypeW(WCHAR ch) 1651 1666 { 1652 FIXME("%c \n", ch);1653 return 0;1667 FIXME("%c, using ascii version\n", ch); 1668 return PathGetCharTypeA(ch); 1654 1669 } 1655 1670
Note:
See TracChangeset
for help on using the changeset viewer.