/reactos/dll/directx/wine/d3dx9_36/ |
H A D | font.c | 431 int countW; in ID3DXFontImpl_PreloadTextA() local 441 countW = MultiByteToWideChar(CP_ACP, 0, string, count < 0 ? -1 : count, NULL, 0); in ID3DXFontImpl_PreloadTextA() 443 wstr = heap_alloc(countW * sizeof(*wstr)); in ID3DXFontImpl_PreloadTextA() 447 MultiByteToWideChar(CP_ACP, 0, string, count < 0 ? -1 : count, wstr, countW); in ID3DXFontImpl_PreloadTextA() 449 hr = ID3DXFont_PreloadTextW(iface, wstr, count < 0 ? countW - 1 : countW); in ID3DXFontImpl_PreloadTextA() 490 int ret, countW; in ID3DXFontImpl_DrawTextA() local 499 countW = MultiByteToWideChar(CP_ACP, 0, string, count < 0 ? -1 : count, NULL, 0); in ID3DXFontImpl_DrawTextA() 501 if (!countW) in ID3DXFontImpl_DrawTextA() 504 wstr = heap_alloc_zero(countW * sizeof(*wstr)); in ID3DXFontImpl_DrawTextA() 508 MultiByteToWideChar(CP_ACP, 0, string, count < 0 ? -1 : count, wstr, countW); in ID3DXFontImpl_DrawTextA() [all …]
|
/reactos/win32ss/user/user32/controls/ |
H A D | listbox.c | 2683 INT countW = MultiByteToWideChar(CP_ACP, 0, textA, -1, NULL, 0); in ListBoxWndProc_common() local 2685 MultiByteToWideChar(CP_ACP, 0, textA, -1, textW, countW); in ListBoxWndProc_common() 2717 INT countW = MultiByteToWideChar(CP_ACP, 0, textA, -1, NULL, 0); in ListBoxWndProc_common() local 2719 MultiByteToWideChar(CP_ACP, 0, textA, -1, textW, countW); in ListBoxWndProc_common() 2746 INT countW = MultiByteToWideChar(CP_ACP, 0, textA, -1, NULL, 0); in ListBoxWndProc_common() local 2748 MultiByteToWideChar(CP_ACP, 0, textA, -1, textW, countW); in ListBoxWndProc_common() 2890 INT countW = MultiByteToWideChar(CP_ACP, 0, textA, -1, NULL, 0); in ListBoxWndProc_common() local 2892 MultiByteToWideChar(CP_ACP, 0, textA, -1, textW, countW); in ListBoxWndProc_common() 2911 MultiByteToWideChar(CP_ACP, 0, textA, -1, textW, countW); in ListBoxWndProc_common() 2934 MultiByteToWideChar(CP_ACP, 0, textA, -1, textW, countW); in ListBoxWndProc_common() [all …]
|
H A D | edit.c | 1388 UINT countW = get_text_length(es) + 1; local 1394 TRACE("%d WCHARs translated to %d bytes\n", countW, countA_new); 1411 WideCharToMultiByte(CP_ACP, 0, es->text, countW, 2914 INT countW, countA; local 2921 countW = MultiByteToWideChar(CP_ACP, 0, textA, countA, NULL, 0); 2928 MultiByteToWideChar(CP_ACP, 0, textA, countA, textW, countW); 4070 INT countW = MultiByteToWideChar(CP_ACP, 0, textA, -1, NULL, 0); local 4073 MultiByteToWideChar(CP_ACP, 0, textA, -1, textW, countW); 4982 INT countW = MultiByteToWideChar(CP_ACP, 0, textA, -1, NULL, 0); local 5236 INT countW = MultiByteToWideChar(CP_ACP, 0, nameA, -1, NULL, 0); local [all …]
|
/reactos/win32ss/gdi/gdi32/objects/ |
H A D | font.c | 1095 INT countW; in GetGlyphIndicesA() local 1097 lpstrW = FONT_mbtowc(hdc, lpstr, count, &countW, NULL); in GetGlyphIndicesA() 1102 Ret = NtGdiGetGlyphIndicesW(hdc, lpstrW, countW, pgi, flags); in GetGlyphIndicesA()
|
/reactos/dll/win32/kernel32/winnls/string/ |
H A D | locale.c | 3212 INT countW; in GetStringTypeA() local 3224 countW = MultiByteToWideChar(cp, 0, src, count, NULL, 0); in GetStringTypeA() 3225 if((srcW = HeapAlloc(GetProcessHeap(), 0, countW * sizeof(WCHAR)))) in GetStringTypeA() 3227 MultiByteToWideChar(cp, 0, src, count, srcW, countW); in GetStringTypeA() 3233 ret = GetStringTypeW(type, srcW, countW, chartype); in GetStringTypeA()
|