OpenSemaphoreA method

Pointer<Void> OpenSemaphoreA(
  1. int dwDesiredAccess,
  2. int bInheritHandle,
  3. Pointer<Int8> lpName
)

Implementation

ffi.Pointer<ffi.Void> OpenSemaphoreA(
  int dwDesiredAccess,
  int bInheritHandle,
  ffi.Pointer<ffi.Int8> lpName,
) {
  return (_OpenSemaphoreA ??=
      _dylib.lookupFunction<_c_OpenSemaphoreA, _dart_OpenSemaphoreA>(
          'OpenSemaphoreA'))(
    dwDesiredAccess,
    bInheritHandle,
    lpName,
  );
}