CreateMutexA method

Pointer<Void> CreateMutexA(
  1. Pointer<LPSECURITY_ATTRIBUTES> lpMutexAttributes,
  2. int bInitialOwner,
  3. Pointer<Int8> lpName
)

Implementation

ffi.Pointer<ffi.Void> CreateMutexA(
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpMutexAttributes,
  int bInitialOwner,
  ffi.Pointer<ffi.Int8> lpName,
) {
  return (_CreateMutexA ??= _dylib
      .lookupFunction<_c_CreateMutexA, _dart_CreateMutexA>('CreateMutexA'))(
    lpMutexAttributes,
    bInitialOwner,
    lpName,
  );
}