#include "SDL.h"
Uint8 SDL_GetAppState(void);
Uint8 SDL_GetAppState
This function returns the current state of the application. The value returned is a bitwise combination of:
SDL_ActiveEvent