MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / IsRunning

Method IsRunning

source/script2.cpp:14810–14822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14808
14809
14810BOOL MsgMonitorList::IsRunning(UINT aMsg, UCHAR aMsgType)
14811// Returns true if there are any monitors for a message currently executing.
14812{
14813 for (MsgMonitorInstance *inst = mTop; inst; inst = inst->previous)
14814 if (!inst->deleted && mMonitor[inst->index].msg == aMsg && mMonitor[inst->index].msg_type == aMsgType)
14815 return TRUE;
14816 //if (!mTop)
14817 // return FALSE;
14818 //for (int i = 0; i < mCount; ++i)
14819 // if (mMonitor[i].msg == aMsg && mMonitor[i].instance_count)
14820 // return TRUE;
14821 return FALSE;
14822}
14823
14824
14825void MsgMonitorList::Dispose()

Callers 1

MsgSleepFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected