Expand Minimize

EngMultiByteToUnicodeN function

The EngMultiByteToUnicodeN function converts the specified ANSI source string into a Unicode string using the current ANSI code page.

Syntax


VOID EngMultiByteToUnicodeN(
  _Out_      LPWSTR UnicodeString,
  _In_       ULONG MaxBytesInUnicodeString,
  _Out_opt_  PULONG BytesInUnicodeString,
  _In_       PCHAR MultiByteString,
  _In_       ULONG BytesInMultiByteString
);

Parameters

UnicodeString [out]

Pointer to the buffer that receives the resultant Unicode string.

MaxBytesInUnicodeString [in]

Supplies the maximum number of bytes to be written to UnicodeString. If this value is too small, causing UnicodeString to be a truncated equivalent of MultiByteString, no error condition results.

BytesInUnicodeString [out, optional]

Pointer to a ULONG that receives the number of bytes written to UnicodeString.

MultiByteString [in]

Pointer to the ANSI source string that is to be converted to Unicode.

BytesInMultiByteString [in]

Specifies the number of bytes in MultiByteString.

Return value

None

Requirements

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngMultiByteToWideChar
EngUnicodeToMultiByteN

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft