Added SDL_SetWindowsMessageHook() to facilitate full IME support on Windows
This commit is contained in:
parent
094c4a160f
commit
7de242e72c
5 changed files with 21 additions and 0 deletions
|
@ -42,6 +42,12 @@ extern "C" {
|
|||
|
||||
/* Platform specific functions for Windows */
|
||||
#ifdef __WIN32__
|
||||
|
||||
/**
|
||||
\brief Set a function that is called for every windows message, before TranslateMessage()
|
||||
*/
|
||||
typedef void (*SDL_WindowsMessageHook)(void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam);
|
||||
extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback);
|
||||
|
||||
/**
|
||||
\brief Returns the D3D9 adapter index that matches the specified display index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue