| 14745 | |
| 14746 | |
| 14747 | MsgMonitorStruct *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 | |
| 14760 | MsgMonitorStruct *MsgMonitorList::Add(UINT aMsg, LPTSTR aMethodName, bool aAppend) |