34 void setHandle(HANDLE hPipeWriteEnd);
39 qint64 bytesToWrite()
const;
40 bool isWriteOperationActive()
const;
51 enum CompletionState {
NoError, ErrorDetected, WriteDisabled };
53 template <
typename... Args>
54 inline void writeImpl(Args...
args);
56 void startAsyncWriteHelper(QMutexLocker<QMutex> *locker);
57 void startAsyncWriteLocked();
58 static void CALLBACK waitCallback(PTP_CALLBACK_INSTANCE instance, PVOID
context,
59 PTP_WAIT wait, TP_WAIT_RESULT waitResult);
60 bool writeCompleted(DWORD errorCode, DWORD numberOfBytesWritten);
61 void notifyCompleted(QMutexLocker<QMutex> *locker);
62 bool consumePendingAndEmit(
bool allowWinActPosting);
68 OVERLAPPED overlapped;
70 qint64 pendingBytesWrittenValue;
76 bool writeSequenceStarted;
77 bool bytesWrittenPending;
78 bool winEventActPosted;