CreateEventExA method

Pointer<Void> CreateEventExA(
  1. Pointer<LPSECURITY_ATTRIBUTES> lpEventAttributes,
  2. Pointer<Int8> lpName,
  3. int dwFlags,
  4. int dwDesiredAccess,
)

Implementation

ffi.Pointer<ffi.Void> CreateEventExA(
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpEventAttributes,
  ffi.Pointer<ffi.Int8> lpName,
  int dwFlags,
  int dwDesiredAccess,
) {
  return (_CreateEventExA ??=
      _dylib.lookupFunction<_c_CreateEventExA, _dart_CreateEventExA>(
          'CreateEventExA'))(
    lpEventAttributes,
    lpName,
    dwFlags,
    dwDesiredAccess,
  );
}