CreateEventExW method

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

Implementation

ffi.Pointer<ffi.Void> CreateEventExW(
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpEventAttributes,
  ffi.Pointer<ffi.Uint16> lpName,
  int dwFlags,
  int dwDesiredAccess,
) {
  return (_CreateEventExW ??=
      _dylib.lookupFunction<_c_CreateEventExW, _dart_CreateEventExW>(
          'CreateEventExW'))(
    lpEventAttributes,
    lpName,
    dwFlags,
    dwDesiredAccess,
  );
}