DRAFT |
SDL_RegisterEvents
Use this function to allocate a set of user-defined events, and return the beginning event number for that set of events.
Syntax
Uint32 SDL_RegisterEvents(int numevents)
Function Parameters
numevents |
the number of events to be allocated |
Return Value
The beginning event number, or (Uint32)-1 if there are not enough user-defined events left.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Is this a remark also or only a return value? If there aren't enough user-defined events left, this function returns (Uint32)-1.