CreateEventW method

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

Implementation

ffi.Pointer<ffi.Void> CreateEventW(
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpEventAttributes,
  int bManualReset,
  int bInitialState,
  ffi.Pointer<ffi.Uint16> lpName,
) {
  return (_CreateEventW ??= _dylib
      .lookupFunction<_c_CreateEventW, _dart_CreateEventW>('CreateEventW'))(
    lpEventAttributes,
    bManualReset,
    bInitialState,
    lpName,
  );
}