Esempio n. 1
0
CEnumMediaTypes::~CEnumMediaTypes()
{
#ifdef DEBUG
    DbgRegisterObjectDestruction(m_dwCookie);
#endif
    m_pPin->Release();
}
Esempio n. 2
0
CEnumPins::~CEnumPins()
{
	m_pFilter->Release();

#ifdef DEBUG
	DbgRegisterObjectDestruction(m_dwCookie);
#endif
}
Esempio n. 3
0
CBaseObject::~CBaseObject()
{
    /* Decrement the number of objects active */
    if (InterlockedDecrement(&m_cObjects) == 0) {
	if (hlibOLEAut32) {
	    FreeLibrary(hlibOLEAut32);

	    hlibOLEAut32 = 0;
	}
    };


#ifdef DEBUG
    DbgRegisterObjectDestruction(m_dwCookie);
#endif
}