21 #include "../../SDL_internal.h"
23 #ifndef SDL_windowsvideo_h_
24 #define SDL_windowsvideo_h_
26 #include "../../core/windows/SDL_windows.h"
28 #include "../SDL_sysvideo.h"
30 #if defined(_MSC_VER) && (_MSC_VER >= 1500)
38 #define MAX_CANDLIST 10
39 #define MAX_CANDLENGTH 256
55 #define TWF_FINETOUCH 1
56 #define TWF_WANTPALM 2
58 #define TOUCHEVENTF_MOVE 0x0001
59 #define TOUCHEVENTF_DOWN 0x0002
60 #define TOUCHEVENTF_UP 0x0004
64 typedef struct _TOUCHINPUT {
101 typedef struct tagINPUTCONTEXT2 {
113 CANDIDATEFORM cfCandForm[4];
122 }
INPUTCONTEXT2, *PINPUTCONTEXT2, NEAR *NPINPUTCONTEXT2,
FAR *LPINPUTCONTEXT2;
134 BOOL (WINAPI *CloseTouchInputHandle)( HTOUCHINPUT );
139 HRESULT (WINAPI *GetDpiForMonitor)( HMONITOR hmonitor,
177 BOOL (WINAPI *ImmUnlockIMC)(HIMC himc);
178 LPVOID (WINAPI *ImmLockIMCC)(HIMCC himcc);
179 BOOL (WINAPI *ImmUnlockIMCC)(HIMCC himcc);
struct IDirect3D9 IDirect3D9
LPINPUTCONTEXT2(WINAPI *ImmLockIMC)(HIMC himc)
SDL_bool g_WindowFrameUsableWhileCursorHidden
UINT LPWSTR PINT BOOL PUINT puMaxReadingLen
MONITOR_DPI_TYPE UINT * dpiX
DWORD ime_openmodesinkcookie
SDL_bool g_WindowsEnableMessageLoop
LPVOID(WINAPI *ImmLockIMCC)(HIMCC himcc)
DWORD ime_uielemsinkcookie
BOOL(* PFNSHFullScreen)(HWND, DWORD)
HRESULT(WINAPI *GetDpiForMonitor)(HMONITOR hmonitor
COMPOSITIONFORM cfCompForm
DECLARE_HANDLE(HTOUCHINPUT)
BOOL(WINAPI *CloseTouchInputHandle)(HTOUCHINPUT)
DWORD ime_convmodesinkcookie
SDL_bool ime_com_initialized
SDL_bool D3D_LoadDLL(void **pD3DDLL, IDirect3D9 **pDirect3D9Interface)
WCHAR ime_readingstring[16]
UINT LPWSTR lpwReadingBuf
UINT LPWSTR PINT BOOL * pfIsVertical
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
The type used to identify a window.
SDL_bool ime_candvertical
WCHAR ime_composition[SDL_TEXTEDITINGEVENT_TEXT_SIZE]
int ime_candlistindexbase
SDL_Rect ime_candlistrect
void(* PFCoordTransform)(SDL_Window *, POINT *)
WCHAR ime_candidates[MAX_CANDLIST][MAX_CANDLENGTH]
A rectangle, with the origin at the upper left.
MONITOR_DPI_TYPE UINT UINT * dpiY
#define SDL_TEXTEDITINGEVENT_TEXT_SIZE
struct ITfThreadMgrEx * ime_threadmgrex
UINT LPWSTR PINT pnErrorIndex
struct ITfThreadMgr * ime_threadmgr