SDL_SetWindowsMessageHook

Set a callback for every Windows message, run before TranslateMessage().

The callback may modify the message, and should return true if the message should continue to be processed, or false to prevent further processing.

version(Windows)
extern (C) nothrow @nogc extern
void
SDL_SetWindowsMessageHook

Parameters

callback SDL_WindowsMessageHook

The SDL_WindowsMessageHook function to call.

userdata void*

A pointer to pass to every iteration of callback.

See Also

SDL_WindowsMessageHook SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP

Meta