Go to the source code of this file.
Typedef Documentation
typedef int(* PspSysEventHandlerFunc)(int ev_id, char *ev_name, void *param, int *result) |
Function Documentation
Check if a SysEvent handler is registered.
- Parameters
-
handler | - the handler to check |
- Returns
- 0 if the handler is not registered
Get the first SysEvent handler (the rest can be found with the linked list).
- Returns
- 0 on error, handler on success
Register a SysEvent handler.
- Parameters
-
handler | - the handler to register |
- Returns
- 0 on success, < 0 on error
int sceKernelSysEventDispatch |
( |
int |
ev_type_mask, |
|
|
int |
ev_id, |
|
|
char * |
ev_name, |
|
|
void * |
param, |
|
|
int * |
result, |
|
|
int |
break_nonzero, |
|
|
PspSysEventHandler * |
break_handler |
|
) |
| |
Dispatch a SysEvent event.
- Parameters
-
ev_type_mask | - the event type mask |
ev_id | - the event id |
ev_name | - the event name |
param | - the pointer to the custom parameters |
result | - the pointer to the result |
break_nonzero | - set to 1 to interrupt the calling chain after the first non-zero return |
break_handler | - the pointer to the event handler having interrupted |
- Returns
- 0 on success, < 0 on error
Unregister a SysEvent handler.
- Parameters
-
handler | - the handler to unregister |
- Returns
- 0 on success, < 0 on error