CreateNamedPipeA method

Pointer<Void> CreateNamedPipeA(
  1. Pointer<Int8> lpName,
  2. int dwOpenMode,
  3. int dwPipeMode,
  4. int nMaxInstances,
  5. int nOutBufferSize,
  6. int nInBufferSize,
  7. int nDefaultTimeOut,
  8. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
)

Implementation

ffi.Pointer<ffi.Void> CreateNamedPipeA(
  ffi.Pointer<ffi.Int8> lpName,
  int dwOpenMode,
  int dwPipeMode,
  int nMaxInstances,
  int nOutBufferSize,
  int nInBufferSize,
  int nDefaultTimeOut,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateNamedPipeA ??=
      _dylib.lookupFunction<_c_CreateNamedPipeA, _dart_CreateNamedPipeA>(
          'CreateNamedPipeA'))(
    lpName,
    dwOpenMode,
    dwPipeMode,
    nMaxInstances,
    nOutBufferSize,
    nInBufferSize,
    nDefaultTimeOut,
    lpSecurityAttributes,
  );
}