Ignore:
Timestamp:
Nov 17, 2012, 3:15:58 AM (10 years ago)
Author:
roman
Message:
  • hooking and tracing device enumerator calls
  • minor updates
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DirectShowSpy/FilterMapperSpy.h

    r95 r144  
    104104                m_hQuartzModule(NULL)
    105105        {
    106                 _Z4(atlTraceRefcount, 4, _T("this 0x%08x\n"), this);
     106                _Z4(atlTraceRefcount, 4, _T("this 0x%p\n"), this);
    107107        }
    108108        ~CFilterMapperSpyT() throw()
    109109        {
    110                 _Z4(atlTraceRefcount, 4, _T("this 0x%08x\n"), this);
     110                _Z4(atlTraceRefcount, 4, _T("this 0x%p\n"), this);
    111111        }
    112112        HRESULT FinalConstruct() throw()
     
    118118                        _W(GetModuleFileName(NULL, pszPath, DIM(pszPath)));
    119119                        _Z4(atlTraceRefcount, 4, _T("pszPath \"%s\", this 0x%08x, m_dwRef %d, m_bIsAggregated %d\n"), pszPath, this, m_dwRef, m_bIsAggregated);
    120                         const HINSTANCE hModule = CoLoadLibrary(_T("quartz.dll"), TRUE);
     120                        const HINSTANCE hModule = CoLoadLibrary(const_cast<LPOLESTR>((LPCOLESTR) CT2COLE(GetOriginalLibraryName())), TRUE);
    121121                        _ATLTRY
    122122                        {
Note: See TracChangeset for help on using the changeset viewer.