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

Method Add

source/script2.cpp:14747–14757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14745
14746
14747MsgMonitorStruct *MsgMonitorList::Add(UINT aMsg, IObject *aCallback, bool aAppend)
14748{
14749 MsgMonitorStruct *new_mon = AddInternal(aMsg, aAppend);
14750 if (new_mon)
14751 {
14752 aCallback->AddRef();
14753 new_mon->func = aCallback;
14754 new_mon->is_method = false;
14755 }
14756 return new_mon;
14757}
14758
14759
14760MsgMonitorStruct *MsgMonitorList::Add(UINT aMsg, LPTSTR aMethodName, bool aAppend)

Callers 2

OnEventMethod · 0.80
BIF_DECLFunction · 0.80

Calls 1

AddRefMethod · 0.45

Tested by

no test coverage detected