MCPcopy Create free account
hub / github.com/Zalafina/QKeyMapper / interceptionLoopBreak

Method interceptionLoopBreak

QKeyMapper/interception_worker.cpp:282–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void Interception_Worker::interceptionLoopBreak()
283{
284 s_InterceptLoopbreak = true;
285
286// if(s_InterceptionContext == Q_NULLPTR) {
287// return;
288// }
289
290// InterceptionDeviceArray device_array = (InterceptionDeviceArray)s_InterceptionContext;
291// QList<HANDLE> wait_handles;
292// for(int i = 0; i < INTERCEPTION_MAX_DEVICE; ++i)
293// {
294// if (device_array[i].unempty) {
295// wait_handles.append(device_array[i].unempty);
296// }
297// }
298
299// bool setevent_result = SetEvent(wait_handles.constFirst());
300// Q_UNUSED(setevent_result);
301
302// #ifdef DEBUG_LOGOUT_ON
303// qDebug() << "[interceptionLoopBreak]" << "wait_handles.size() =" << wait_handles.size() << ", setevent_result =" << setevent_result;
304// #endif
305}
306
307bool Interception_Worker::isInterceptionDriverFileExist()
308{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected