= SDL_GetEventState =
Use this macro to query the current processing state of a specified [[SDL_EventType]].




== Syntax ==
<syntaxhighlight lang='c++'>
Uint8 SDL_GetEventState(Uint32 type)
</syntaxhighlight>


== Function Parameters ==
{|
|'''type'''
|the [[SDL_EventType]] to query
|}


== Return Value ==
Returns SDL_DISABLE or SDL_ENABLE.



== Related Functions ==
:[[SDL_EventState]]


----
[[CategoryAPI]], [[CategoryEvents]]