CreateSemaphoreExA method
Implementation
ffi.Pointer<ffi.Void> CreateSemaphoreExA(
ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSemaphoreAttributes,
int lInitialCount,
int lMaximumCount,
ffi.Pointer<ffi.Int8> lpName,
int dwFlags,
int dwDesiredAccess,
) {
return (_CreateSemaphoreExA ??=
_dylib.lookupFunction<_c_CreateSemaphoreExA, _dart_CreateSemaphoreExA>(
'CreateSemaphoreExA'))(
lpSemaphoreAttributes,
lInitialCount,
lMaximumCount,
lpName,
dwFlags,
dwDesiredAccess,
);
}