MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / put_Icon

Method put_Icon

Libraries/TabbingFramework/TabbedMDISave.cpp:432–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430 return S_OK;
431}
432STDMETHODIMP CTabbedMDIChildModifiedItem::put_Icon(
433 HICON icon)
434{
435 if(m_icon)
436 {
437 ::DestroyIcon(m_icon);
438 m_icon = NULL;
439 }
440 m_icon = ::CopyIcon(icon);
441 return S_OK;
442}
443
444STDMETHODIMP CTabbedMDIChildModifiedItem::get_UserData(
445 IUnknown** userData)

Callers 2

InitNewMethod · 0.95
CopyToMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected