CreateEvent function kernel32

int CreateEvent(
  1. Pointer<SECURITY_ATTRIBUTES> lpEventAttributes,
  2. int bManualReset,
  3. int bInitialState,
  4. Pointer<Utf16> lpName
)

Creates or opens a named or unnamed event object.

HANDLE CreateEventW(
  LPSECURITY_ATTRIBUTES lpEventAttributes,
  BOOL bManualReset,
  BOOL  bInitialState,
  LPCWSTR lpName
);

Implementation

int CreateEvent(Pointer<SECURITY_ATTRIBUTES> lpEventAttributes,
        int bManualReset, int bInitialState, Pointer<Utf16> lpName) =>
    _CreateEvent(lpEventAttributes, bManualReset, bInitialState, lpName);