27class QWinEventNotifierPrivate :
public QObjectPrivate
29 Q_DECLARE_PUBLIC(QWinEventNotifier)
31 QWinEventNotifierPrivate() : QWinEventNotifierPrivate(0,
false) {}
32 QWinEventNotifierPrivate(HANDLE h,
bool e);
33 virtual ~QWinEventNotifierPrivate();
35 static void CALLBACK waitCallback(PTP_CALLBACK_INSTANCE instance, PVOID context,
36 PTP_WAIT wait, TP_WAIT_RESULT waitResult);
39 PTP_WAIT waitObject = NULL;
41 enum PostingState { NotPosted = 0, Posted, IgnorePosted };
42 QAtomicInt winEventActPosted;