OpenMutexA method

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

Implementation

ffi.Pointer<ffi.Void> OpenMutexA(
  int dwDesiredAccess,
  int bInheritHandle,
  ffi.Pointer<ffi.Int8> lpName,
) {
  return (_OpenMutexA ??=
      _dylib.lookupFunction<_c_OpenMutexA, _dart_OpenMutexA>('OpenMutexA'))(
    dwDesiredAccess,
    bInheritHandle,
    lpName,
  );
}