CreateEventA method

Pointer<Void> CreateEventA(
  1. Pointer<LPSECURITY_ATTRIBUTES> lpEventAttributes,
  2. int bManualReset,
  3. int bInitialState,
  4. Pointer<Int8> lpName,
)

Implementation

ffi.Pointer<ffi.Void> CreateEventA(
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpEventAttributes,
  int bManualReset,
  int bInitialState,
  ffi.Pointer<ffi.Int8> lpName,
) {
  return (_CreateEventA ??= _dylib
      .lookupFunction<_c_CreateEventA, _dart_CreateEventA>('CreateEventA'))(
    lpEventAttributes,
    bManualReset,
    bInitialState,
    lpName,
  );
}