SDL_WindowsMessageHook

A callback to be used with SDL_SetWindowsMessageHook.

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

As this is processing a message directly from the Windows event loop, this callback should do the minimum required work and return quickly.

version(Windows)
extern (C) nothrow @nogc
alias SDL_WindowsMessageHook = bool function
(
void* userdata
,)

Return Value

true to let event continue on, false to drop it.

Threadsafety: This may only be called (by SDL) from the thread handling the Windows event loop.

See Also

SDL_SetWindowsMessageHook SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP

Meta