IsCharAlphaNumericWrapW function

[IsCharAlphaNumericWrapW is available for use in Windows XP. It will not be available in subsequent versions. You should use IsCharAlphaNumericW in its place.]

Determines whether a character is either an alphabetical or a numeric character. This determination is based on the semantics of the language selected by the user during setup or through Control Panel.


IsCharAlphaNumericWrapW is a wrapper for the IsCharAlphaNumericW function. See the IsCharAlphaNumeric page for further usage notes.



BOOL IsCharAlphaNumericWrapW(
  _In_ WCHAR ch


ch [in]


The Unicode character to be tested.

Return value

Type: BOOL

If the character is alphanumeric, the return value is nonzero.

If the character is not alphanumeric, the return value is zero. To get extended error information, call GetLastError.


IsCharAlphaNumericWrapW provides the ability to use Unicode strings in operating systems earlier than Windows XP. The preferred method is to use IsCharAlphaNumericW in conjunction with the Microsoft Layer for Unicode (MSLU).

IsCharAlphaNumericWrapW must be called directly from Shlwapi.dll, using ordinal 28.


Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Shlwapi.dll (version 5.0 or later)

See also