AllAPI Network - The KPD-Team

Allapi Network

 API List

API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
This Site
 Search Engine
 Contact Form

Donate to


Determines the type of character with respect to a path.

Declare Function PathGetCharType Lib "shlwapi.dll" Alias "PathGetCharTypeA" (ByVal ch As Byte) As Long

Operating Systems Supported
Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later); Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later)


Parameter Information
Character for which to determine the type.

Return Values
Returns one or more of the following values that define the type of character:
GCT_INVALID The character is not valid in a path.
GCT_LFNCHAR The character is valid in a long file name.
GCT_SEPARATOR The character is a path separator.
GCT_SHORTCHAR The character is valid in a short (8.3) file name.
GCT_WILD The character is a wildcard character.


Related Functions



Copyright © 1998-2007, The Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at