FreeRDP
Loading...
Searching...
No Matches
unicode.h
1
21#ifndef WINPR_CRT_UNICODE_INTERNAL
22#define WINPR_CRT_UNICODE_INTERNAL
23
24#include <winpr/wtypes.h>
25
26int int_MultiByteToWideChar(UINT CodePage, DWORD dwFlags, LPCSTR lpMultiByteStr, int cbMultiByte,
27 LPWSTR lpWideCharStr, int cchWideChar);
28
29int int_WideCharToMultiByte(UINT CodePage, DWORD dwFlags, LPCWSTR lpWideCharStr, int cchWideChar,
30 LPSTR lpMultiByteStr, int cbMultiByte, LPCSTR lpDefaultChar,
31 LPBOOL lpUsedDefaultChar);
32
43WINPR_ATTR_NODISCARD
44SSIZE_T winpr_utfEscapedStringToUtf8(char* str, size_t len);
45
57WINPR_ATTR_MALLOC(free, 1)
58char* winpr_utf8ToUtfEscapedString(char* str, size_t len, size_t* pDstLen);
59
60#endif