MCPcopy Create free account
hub / github.com/mhammond/pywin32 / AddItem

Method AddItem

Pythonwin/stddde.cpp:297–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297BOOL CDDETopic::AddItem(CDDEItem* pNewItem)
298{
299 ASSERT(pNewItem);
300
301 //
302 // See if we already have this item
303 //
304
305 POSITION pos = m_ItemList.Find(pNewItem);
306 if (pos) return TRUE; // already have it
307
308 //
309 // Add the new item
310 //
311
312 m_ItemList.AddTail(pNewItem);
313 pNewItem->m_pTopic = this;
314
315 return TRUE;
316}
317
318BOOL CDDETopic::Request(UINT wFmt, const TCHAR* pszItem,
319 CDDEAllocator &allocr)

Callers 4

PyDDETopic_AddItemFunction · 0.45
CreateMethod · 0.45
AddTopicMethod · 0.45
__init__Method · 0.45

Calls 1

FindMethod · 0.45

Tested by

no test coverage detected