CreateSemaphoreExW method
Implementation
ffi.Pointer<ffi.Void> CreateSemaphoreExW(
ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSemaphoreAttributes,
int lInitialCount,
int lMaximumCount,
ffi.Pointer<ffi.Uint16> lpName,
int dwFlags,
int dwDesiredAccess,
) {
return (_CreateSemaphoreExW ??=
_dylib.lookupFunction<_c_CreateSemaphoreExW, _dart_CreateSemaphoreExW>(
'CreateSemaphoreExW'))(
lpSemaphoreAttributes,
lInitialCount,
lMaximumCount,
lpName,
dwFlags,
dwDesiredAccess,
);
}