Delegate WindowsMessageHook
Represents a method to handle messages directly from the Windows event loop
public delegate bool WindowsMessageHook(nint msg)
Parameters
msgnintA pointer to a Win32 event structure to process
Returns
Remarks
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.
This may only be called (by SDL) from the thread handling the Windows event loop.