Tao.Sdl SDK Documentation

Sdl.SDL_GetEventFilter Method 

Retrieves a pointer to the event filter

[Visual Basic]
Public Shared Function SDL_GetEventFilter() As SDL_EventFilter
[C#]
public static SDL_EventFilter SDL_GetEventFilter();

Return Value

Returns a pointer to the event filter or NULL if no filter has been set.

Remarks

This function retrieces a pointer to the event filter that was previously set using SDL_SetEventFilter. An SDL_EventFilter function is defined as:

            typedef int (*SDL_EventFilter)(const SDL_Event *event);
            

Binds to C-function in SDL_events.h

SDL_EventFilter SDL_GetEventFilter(void);
            

See Also

Sdl Class | Tao.Sdl Namespace | Sdl.SDL_Event | SDL_SetEventFilter