diff src/video/wincommon/SDL_lowvideo.h @ 1253:7c7ddaf195bf

Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP This is a collaborative effort between Alex Volkov and John Popplewell. Thanks guys! (Fixes bug #39)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 19 Jan 2006 09:09:32 +0000
parents 86d0d01290ea
children f61f045343d3
line wrap: on
line diff
--- a/src/video/wincommon/SDL_lowvideo.h	Thu Jan 19 08:53:12 2006 +0000
+++ b/src/video/wincommon/SDL_lowvideo.h	Thu Jan 19 09:09:32 2006 +0000
@@ -109,4 +109,9 @@
    GDL_CreateWindow as well */
 LONG CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
 
+/* JFP: Implementation of ToUnicode() that works on 9x/ME/2K/XP */
+typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, PBYTE, LPWSTR, int, UINT);
+
+extern ToUnicodeFN SDL_ToUnicode;
+
 #endif /* SDL_lowvideo_h */