SDL_PeepEvents.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_PeepEvents" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_PeepEvents- Checks the event queue for messages and optionally returns them&.
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_PeepEventsfPfR(fBSDL_Event *events, int numevents, SDL_eventaction action, Uint32 maskfR);
- .SH "DESCRIPTION"
- .PP
- Checks the event queue for messages and optionally returns them&.
- .PP
- If fBactionfR is fBSDL_ADDEVENTfP, up to fBnumeventsfR events will be added to the back of the event queue&.
- .PP
- If fBactionfR is fBSDL_PEEKEVENTfP, up to fBnumeventsfR events at the front of the event queue, matching fIfBmaskfRfR, will be returned and will not be removed from the queue&.
- .PP
- If fBactionfR is fBSDL_GETEVENTfP, up to fBnumeventsfR events at the front of the event queue, matching fIfBmaskfRfR, will be returned and will be removed from the queue&.
- .PP
- This function is thread-safe&.
- .SH "RETURN VALUE"
- .PP
- This function returns the number of events actually stored, or fB-1fR if there was an error&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_EventfRfR, fIfBSDL_PollEventfPfR, fIfBSDL_PushEventfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59