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
58#define TOUCHEVENTF_MOVE 0x0001
59#define TOUCHEVENTF_DOWN 0x0002
60#define TOUCHEVENTF_UP 0x0004
64typedef struct _TOUCHINPUT {
101typedef 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);
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
#define SDL_TEXTEDITINGEVENT_TEXT_SIZE
SDL_bool D3D_LoadDLL(void **pD3DDLL, IDirect3D9 **pDirect3D9Interface)
void(* PFCoordTransform)(SDL_Window *, POINT *)
struct IDirect3D9 IDirect3D9
BOOL(* PFNSHFullScreen)(HWND, DWORD)
SDL_bool g_WindowFrameUsableWhileCursorHidden
DECLARE_HANDLE(HTOUCHINPUT)
SDL_bool g_WindowsEnableMessageLoop
COMPOSITIONFORM cfCompForm
A rectangle, with the origin at the upper left (integer).
struct ITfThreadMgr * ime_threadmgr
HRESULT(WINAPI *GetDpiForMonitor)(HMONITOR hmonitor
DWORD ime_openmodesinkcookie
BOOL(WINAPI *ImmUnlockIMC)(HIMC himc)
int ime_candlistindexbase
SDL_bool ime_candvertical
SDL_bool ime_com_initialized
UINT LPWSTR PINT BOOL * pfIsVertical
LPVOID(WINAPI *ImmLockIMCC)(HIMCC himcc)
LPINPUTCONTEXT2(WINAPI *ImmLockIMC)(HIMC himc)
BOOL(WINAPI *CloseTouchInputHandle)(HTOUCHINPUT)
UINT LPWSTR lpwReadingBuf
WCHAR ime_candidates[MAX_CANDLIST][MAX_CANDLENGTH]
MONITOR_DPI_TYPE UINT UINT * dpiY
BOOL(WINAPI *ImmUnlockIMCC)(HIMCC himcc)
MONITOR_DPI_TYPE UINT * dpiX
DWORD ime_convmodesinkcookie
BOOL(WINAPI *GetTouchInputInfo)(HTOUCHINPUT
UINT LPWSTR PINT pnErrorIndex
BOOL(WINAPI *RegisterTouchWindow)(HWND
SDL_Rect ime_candlistrect
UINT LPWSTR PINT BOOL PUINT puMaxReadingLen
WCHAR ime_readingstring[16]
struct ITfThreadMgrEx * ime_threadmgrex
BOOL(WINAPI *ShowReadingWindow)(HIMC himc
DWORD ime_uielemsinkcookie
WCHAR ime_composition[SDL_TEXTEDITINGEVENT_TEXT_SIZE]
The type used to identify a window.