A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



PathGetCharType

Determines the type of character with respect to a path.

VB4-32,5,6
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)

Library
Shlwapi

Parameter Information
- ch
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.

Last update: 07 April 2006