OpenSemaphoreW method

Pointer<Void> OpenSemaphoreW(
  1. int dwDesiredAccess,
  2. int bInheritHandle,
  3. Pointer<Uint16> lpName
)

Implementation

ffi.Pointer<ffi.Void> OpenSemaphoreW(
  int dwDesiredAccess,
  int bInheritHandle,
  ffi.Pointer<ffi.Uint16> lpName,
) {
  return (_OpenSemaphoreW ??=
      _dylib.lookupFunction<_c_OpenSemaphoreW, _dart_OpenSemaphoreW>(
          'OpenSemaphoreW'))(
    dwDesiredAccess,
    bInheritHandle,
    lpName,
  );
}