Function ctru_sys::svcCreateEvent

source ·
pub unsafe extern "C" fn svcCreateEvent(
    event: *mut Handle,
    reset_type: ResetType
) -> Result
Expand description

Creates an event handle.

§Arguments

  • event (direction out) - Pointer to output the created event handle to.
  • reset_type - Type of reset the event uses (RESET_ONESHOT/RESET_STICKY).