Mercurial > sdl-ios-xcode
annotate src/video/win32/SDL_win32video.h @ 4889:8c9cbb623d55
Fixed crashing loading 48KHz audio, contributed by Terry Welsh
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 18 Sep 2010 18:15:08 -0700 |
parents | d6adaafcfb10 |
children | 9e1f6d3fb870 |
rev | line source |
---|---|
4759
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
1 /* |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
2 SDL - Simple DirectMedia Layer |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
3 Copyright (C) 1997-2010 Sam Lantinga |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
4 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
5 This library is free software; you can redistribute it and/or |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
6 modify it under the terms of the GNU Lesser General Public |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
7 License as published by the Free Software Foundation; either |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
8 version 2.1 of the License, or (at your option) any later version. |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
9 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
10 This library is distributed in the hope that it will be useful, |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
13 Lesser General Public License for more details. |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
14 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
15 You should have received a copy of the GNU Lesser General Public |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
16 License along with this library; if not, write to the Free Software |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
18 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
19 Sam Lantinga |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
20 slouken@libsdl.org |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
21 */ |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
22 #include "SDL_config.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
23 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
24 #ifndef _SDL_win32video_h |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
25 #define _SDL_win32video_h |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
26 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
27 #include "../SDL_sysvideo.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
28 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
29 #define WIN32_LEAN_AND_MEAN |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
30 #define STRICT |
4569 | 31 #ifndef UNICODE |
4759
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
32 #define UNICODE |
4569 | 33 #endif |
4759
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
34 #undef WINVER |
4868
d6adaafcfb10
Fixed compiling with Visual Studio 2008
Sam Lantinga <slouken@libsdl.org>
parents:
4763
diff
changeset
|
35 #define WINVER 0x500 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */ |
4650 | 36 |
4759
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
37 #include <windows.h> |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
38 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
39 #include <msctf.h> |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
40 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
41 #if SDL_VIDEO_RENDER_D3D |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
42 //#include <d3d9.h> |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
43 #define D3D_DEBUG_INFO |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
44 #include "d3d9.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
45 #endif |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
46 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
47 #if SDL_VIDEO_RENDER_DDRAW |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
48 /* WIN32_LEAN_AND_MEAN was defined, so we have to include this by hand */ |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
49 #include <objbase.h> |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
50 #include "ddraw.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
51 #endif |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
52 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
53 #include "SDL_win32clipboard.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
54 #include "SDL_win32events.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
55 #include "SDL_win32gamma.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
56 #include "SDL_win32keyboard.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
57 #include "SDL_win32modes.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
58 #include "SDL_win32mouse.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
59 #include "SDL_win32opengl.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
60 #include "SDL_win32window.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
61 #include "SDL_events.h" |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
62 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
63 #ifdef UNICODE |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
64 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "UCS-2", (char *)S, (SDL_wcslen(S)+1)*sizeof(WCHAR)) |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
65 #define WIN_UTF8ToString(S) (WCHAR *)SDL_iconv_string("UCS-2", "UTF-8", (char *)S, SDL_strlen(S)+1) |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
66 #else |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
67 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "ASCII", (char *)S, (SDL_strlen(S)+1)) |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
68 #define WIN_UTF8ToString(S) SDL_iconv_string("ASCII", "UTF-8", (char *)S, SDL_strlen(S)+1) |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
69 #endif |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
70 extern void WIN_SetError(const char *prefix); |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
71 |
4569 | 72 enum { RENDER_NONE, RENDER_D3D, RENDER_DDRAW, RENDER_GDI, RENDER_GAPI, RENDER_RAW }; |
73 | |
74 typedef BOOL (*PFNSHFullScreen)(HWND, DWORD); | |
75 typedef void (*PFCoordTransform)(SDL_Window*, POINT*); | |
76 | |
4759
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
77 typedef struct |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
78 { |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
79 void **lpVtbl; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
80 int refcount; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
81 void *data; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
82 } TSFSink; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
83 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
84 // Definition from Win98DDK version of IMM.H |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
85 typedef struct tagINPUTCONTEXT2 { |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
86 HWND hWnd; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
87 BOOL fOpen; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
88 POINT ptStatusWndPos; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
89 POINT ptSoftKbdPos; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
90 DWORD fdwConversion; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
91 DWORD fdwSentence; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
92 union { |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
93 LOGFONTA A; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
94 LOGFONTW W; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
95 } lfFont; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
96 COMPOSITIONFORM cfCompForm; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
97 CANDIDATEFORM cfCandForm[4]; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
98 HIMCC hCompStr; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
99 HIMCC hCandInfo; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
100 HIMCC hGuideLine; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
101 HIMCC hPrivate; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
102 DWORD dwNumMsgBuf; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
103 HIMCC hMsgBuf; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
104 DWORD fdwInit; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
105 DWORD dwReserve[3]; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
106 } INPUTCONTEXT2, *PINPUTCONTEXT2, NEAR *NPINPUTCONTEXT2, FAR *LPINPUTCONTEXT2; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
107 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
108 /* Private display data */ |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
109 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
110 typedef struct SDL_VideoData |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
111 { |
4569 | 112 int render; |
113 | |
4759
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
114 #if SDL_VIDEO_RENDER_D3D |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
115 HANDLE d3dDLL; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
116 IDirect3D9 *d3d; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
117 #endif |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
118 #if SDL_VIDEO_RENDER_DDRAW |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
119 HANDLE ddrawDLL; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
120 IDirectDraw *ddraw; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
121 #endif |
4569 | 122 #ifdef _WIN32_WCE |
123 HMODULE hAygShell; | |
124 PFNSHFullScreen SHFullScreen; | |
125 PFCoordTransform CoordTransform; | |
126 #endif | |
4759
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
127 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
128 const SDL_scancode *key_layout; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
129 DWORD clipboard_count; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
130 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
131 SDL_bool ime_com_initialized; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
132 struct ITfThreadMgr *ime_threadmgr; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
133 SDL_bool ime_initialized; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
134 SDL_bool ime_enabled; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
135 SDL_bool ime_available; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
136 HWND ime_hwnd_main; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
137 HWND ime_hwnd_current; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
138 HIMC ime_himc; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
139 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
140 WCHAR ime_composition[SDL_TEXTEDITINGEVENT_TEXT_SIZE]; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
141 WCHAR ime_readingstring[16]; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
142 int ime_cursor; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
143 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
144 HKL ime_hkl; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
145 HMODULE ime_himm32; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
146 UINT (WINAPI *GetReadingString)(HIMC himc, UINT uReadingBufLen, LPWSTR lpwReadingBuf, PINT pnErrorIndex, BOOL *pfIsVertical, PUINT puMaxReadingLen); |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
147 BOOL (WINAPI *ShowReadingWindow)(HIMC himc, BOOL bShow); |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
148 LPINPUTCONTEXT2 (WINAPI *ImmLockIMC)(HIMC himc); |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
149 BOOL (WINAPI *ImmUnlockIMC)(HIMC himc); |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
150 LPVOID (WINAPI *ImmLockIMCC)(HIMCC himcc); |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
151 BOOL (WINAPI *ImmUnlockIMCC)(HIMCC himcc); |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
152 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
153 SDL_bool ime_uiless; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
154 struct ITfThreadMgrEx *ime_threadmgrex; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
155 DWORD ime_uielemsinkcookie; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
156 DWORD ime_alpnsinkcookie; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
157 DWORD ime_openmodesinkcookie; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
158 DWORD ime_convmodesinkcookie; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
159 TSFSink *ime_uielemsink; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
160 TSFSink *ime_ippasink; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
161 } SDL_VideoData; |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
162 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
163 #endif /* _SDL_win32video_h */ |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
164 |
863ba7d1f029
Large commit with initial reading string support, TSF UILess code, etc.
dewyatt
parents:
4755
diff
changeset
|
165 /* vi: set ts=4 sw=4 expandtab: */ |