windows: Manage WideCharToMultiByte vs Windows XP.

Reference Issue #8666.
This commit is contained in:
Ryan C. Gordon committed 2024-01-27 20:15:08 -05:00
1 parent 2144c2ac71
commit 1c5bc53738
5 files changed
+23 -1

No files matched your search

+3
View File
@@ -173,6 +173,9 @@ extern BOOL WIN_IsRectEmpty(const RECT *rect);
extern SDL_AudioFormat SDL_WaveFormatExToSDLFormat(WAVEFORMATEX *waveformat);
/* WideCharToMultiByte, but with some WinXP manangement. */
extern int WIN_WideCharToMultiByte(UINT CodePage, DWORD dwFlags, LPCWCH lpWideCharStr, int cchWideChar, LPSTR lpMultiByteStr, int cbMultiByte, LPCCH lpDefaultChar, LPBOOL lpUsedDefaultChar);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}