Skip to content

CreateEvent

Creates an event: 31 bits that can be signalled and waited on.

Number Selector Blocking Since
0x04 SVC_CREATE OBJECT_EVENT (3) no 2.0
Handle CreateEvent(void);

Registers: () -> r0 event handle or error

Returns

An event handle with all permissions, or a negative error code.

Errors

Error Condition
ERR_NOMEM Out of kernel memory, or the caller's handle table is full.