CreateIoCompletionPort method

Pointer<Void> CreateIoCompletionPort(
  1. Pointer<Void> FileHandle,
  2. Pointer<Void> ExistingCompletionPort,
  3. int CompletionKey,
  4. int NumberOfConcurrentThreads,
)

Implementation

ffi.Pointer<ffi.Void> CreateIoCompletionPort(
  ffi.Pointer<ffi.Void> FileHandle,
  ffi.Pointer<ffi.Void> ExistingCompletionPort,
  int CompletionKey,
  int NumberOfConcurrentThreads,
) {
  return (_CreateIoCompletionPort ??= _dylib.lookupFunction<
      _c_CreateIoCompletionPort,
      _dart_CreateIoCompletionPort>('CreateIoCompletionPort'))(
    FileHandle,
    ExistingCompletionPort,
    CompletionKey,
    NumberOfConcurrentThreads,
  );
}