Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The EngUnicodeToMultiByteN function converts the specified Unicode string into an ANSI string using the current ANSI code page.
Syntax
ENGAPI VOID EngUnicodeToMultiByteN(
[out] PCHAR MultiByteString,
[in] ULONG MaxBytesInMultiByteString,
[out, optional] PULONG BytesInMultiByteString,
[in] PWSTR UnicodeString,
[in] ULONG BytesInUnicodeString
);
Parameters
[out] MultiByteString
Pointer to the buffer that receives the resultant ANSI string.
[in] MaxBytesInMultiByteString
Specifies the maximum number of bytes to be written to MultiByteString. If this value is too small, causing MultiByteString to be a truncated equivalent of UnicodeString, then no error condition results.
[out, optional] BytesInMultiByteString
Pointer to a ULONG that receives the number of bytes written to MultiByteString.
[in] UnicodeString
Pointer to the Unicode source string that is to be converted to ANSI.
[in] BytesInUnicodeString
Specifies the number of bytes in UnicodeString.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | winddi.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |