Blame |
Last modification |
View Log
| RSS feed
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
REL="HOME"
TITLE="SDL Library Documentation"
REL="UP"
TITLE="Event Functions."
HREF="eventfunctions.html"><
LINK
REL="PREVIOUS"
TITLE="SDL_PumpEvents"
HREF="sdlpumpevents.html"><
LINK
REL="NEXT"
TITLE="SDL_PollEvent"
HREF="sdlpollevent.html"><
/HEAD
CLASS="REFENTRY"
BGCOLOR="#FFF8DC"
TEXT="#000000"
LINK="#0000ee"
VLINK="#551a8b"
ALINK="#ff0000"
CLASS="NAVHEADER"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
COLSPAN="3"
ALIGN="center"
>SDL Library Documentation<
/TH
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
HREF="sdlpumpevents.html"
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
HREF="sdlpollevent.html"
ALIGN="LEFT"
NAME="SDLPEEPEVENTS"
CLASS="REFNAMEDIV"
NAME="AEN4882"
>SDL_PeepEvents -- Checks the event queue
for messages and optionally returns them.<
/DIV
CLASS="REFSYNOPSISDIV"
NAME="AEN4885"
CLASS="FUNCSYNOPSIS"
NAME="AEN4886"
CLASS="FUNCSYNOPSISINFO"
CLASS="FUNCDEF"
CLASS="FSFUNC"
>
(SDL_Event *events, int numevents, SDL_eventaction
action, Uint32 mask
);<
/CODE
CLASS="REFSECT1"
NAME="AEN4892"
>Checks the event queue
for messages and optionally returns them.<
/P
CLASS="PARAMETER"
CLASS="LITERAL"
>, up to
CLASS="PARAMETER"
> events will be added to the back of the event
CLASS="PARAMETER"
CLASS="LITERAL"
>, up to
CLASS="PARAMETER"
> events at the front of the event queue,
HREF="sdlevent.html"
CLASS="PARAMETER"
>,
will be returned and will not be removed from the queue.<
/P
CLASS="PARAMETER"
CLASS="LITERAL"
>, up to
CLASS="PARAMETER"
> events at the front of the event queue,
HREF="sdlevent.html"
CLASS="PARAMETER"
>,
will be returned and will be removed from the queue.<
/P
>This function is thread-safe.<
/P
CLASS="REFSECT1"
NAME="AEN4912"
>This function returns the number of events actually stored, or
CLASS="RETURNVALUE"
> if there was an error. <
/P
CLASS="REFSECT1"
NAME="AEN4916"
HREF="sdlevent.html"
CLASS="STRUCTNAME"
>,
HREF="sdlpollevent.html"
CLASS="FUNCTION"
>,
HREF="sdlpushevent.html"
CLASS="FUNCTION"
CLASS="NAVFOOTER"
ALIGN="LEFT"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
WIDTH="33%"
ALIGN="left"
VALIGN="top"
HREF="sdlpumpevents.html"
WIDTH="34%"
ALIGN="center"
VALIGN="top"
HREF="index.html"
WIDTH="33%"
ALIGN="right"
VALIGN="top"
HREF="sdlpollevent.html"
WIDTH="33%"
ALIGN="left"
VALIGN="top"
WIDTH="34%"
ALIGN="center"
VALIGN="top"
HREF="eventfunctions.html"
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>