GetNamedPipeHandleStateW method

int GetNamedPipeHandleStateW(
  1. Pointer<Void> hNamedPipe,
  2. Pointer<Uint64> lpState,
  3. Pointer<Uint64> lpCurInstances,
  4. Pointer<Uint64> lpMaxCollectionCount,
  5. Pointer<Uint64> lpCollectDataTimeout,
  6. Pointer<Uint16> lpUserName,
  7. int nMaxUserNameSize,
)

Implementation

int GetNamedPipeHandleStateW(
  ffi.Pointer<ffi.Void> hNamedPipe,
  ffi.Pointer<ffi.Uint64> lpState,
  ffi.Pointer<ffi.Uint64> lpCurInstances,
  ffi.Pointer<ffi.Uint64> lpMaxCollectionCount,
  ffi.Pointer<ffi.Uint64> lpCollectDataTimeout,
  ffi.Pointer<ffi.Uint16> lpUserName,
  int nMaxUserNameSize,
) {
  return (_GetNamedPipeHandleStateW ??= _dylib.lookupFunction<
      _c_GetNamedPipeHandleStateW,
      _dart_GetNamedPipeHandleStateW>('GetNamedPipeHandleStateW'))(
    hNamedPipe,
    lpState,
    lpCurInstances,
    lpMaxCollectionCount,
    lpCollectDataTimeout,
    lpUserName,
    nMaxUserNameSize,
  );
}