GetNamedPipeHandleStateA method

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

Implementation

int GetNamedPipeHandleStateA(
  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.Int8> lpUserName,
  int nMaxUserNameSize,
) {
  return (_GetNamedPipeHandleStateA ??= _dylib.lookupFunction<
      _c_GetNamedPipeHandleStateA,
      _dart_GetNamedPipeHandleStateA>('GetNamedPipeHandleStateA'))(
    hNamedPipe,
    lpState,
    lpCurInstances,
    lpMaxCollectionCount,
    lpCollectDataTimeout,
    lpUserName,
    nMaxUserNameSize,
  );
}