CharUpperBuffWrapW function

[CharUpperBuffWrapW is available for use in Windows XP. It may not be available in subsequent versions. You should use CharUpperBuffW in its place.]

Converts lowercase characters in a buffer to uppercase characters. The function converts the characters in place.

Note

CharUpperBuffWrapW is a wrapper for the CharUpperBuffW function. See the CharUpperBuff page for further usage notes.

 

Syntax

DWORD CharUpperBuffWrapW(
  _In_ LPWSTR pch,
  _In_ DWORD  cchLength
);

Parameters

pch [in]

Type: LPWSTR

A pointer to a buffer that contains one or more Unicode characters to process.

cchLength [in]

Type: DWORD

Specifies the size, in characters, of the buffer pointed to by pch.

Return value

Type: DWORD

The number of characters processed.

Remarks

The preferred method is to use CharUpperBuffW in conjunction with the Microsoft Layer for Unicode (MSLU).

CharUpperBuffWrapW must be called directly from Shlwapi.dll, using ordinal 44.

Requirements

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

See also

CharUpperBuff