ReleaseSemaphore method

int ReleaseSemaphore(
  1. Pointer<Void> hSemaphore,
  2. int lReleaseCount,
  3. Pointer<Int64> lpPreviousCount
)

Implementation

int ReleaseSemaphore(
  ffi.Pointer<ffi.Void> hSemaphore,
  int lReleaseCount,
  ffi.Pointer<ffi.Int64> lpPreviousCount,
) {
  return (_ReleaseSemaphore ??=
      _dylib.lookupFunction<_c_ReleaseSemaphore, _dart_ReleaseSemaphore>(
          'ReleaseSemaphore'))(
    hSemaphore,
    lReleaseCount,
    lpPreviousCount,
  );
}