CreateNamedPipeW method

Pointer<Void> CreateNamedPipeW(
  1. Pointer<Uint16> 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> CreateNamedPipeW(
  ffi.Pointer<ffi.Uint16> lpName,
  int dwOpenMode,
  int dwPipeMode,
  int nMaxInstances,
  int nOutBufferSize,
  int nInBufferSize,
  int nDefaultTimeOut,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateNamedPipeW ??=
      _dylib.lookupFunction<_c_CreateNamedPipeW, _dart_CreateNamedPipeW>(
          'CreateNamedPipeW'))(
    lpName,
    dwOpenMode,
    dwPipeMode,
    nMaxInstances,
    nOutBufferSize,
    nInBufferSize,
    nDefaultTimeOut,
    lpSecurityAttributes,
  );
}