Changeset 608


Ignore:
Timestamp:
Apr 2, 2016, 7:28:14 AM (6 years ago)
Author:
roman
Message:

Added hook for CLSID_FilterGraphPrivateThread

Location:
trunk/DirectShowSpy
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/DirectShowSpy/DirectShowSpy.vcxproj.filters

    r503 r608  
    1717      <UniqueIdentifier>{75999933-f159-4300-9aa0-cac6ec403580}</UniqueIdentifier>
    1818      <SourceControlFiles>False</SourceControlFiles>
     19    </Filter>
     20    <Filter Include="Resource Files\Icon">
     21      <UniqueIdentifier>{151d21aa-6f51-4261-b26c-2acfdcb7d9f1}</UniqueIdentifier>
    1922    </Filter>
    2023  </ItemGroup>
     
    118121  <ItemGroup>
    119122    <Image Include="AddFilter.ico">
    120       <Filter>Resource Files</Filter>
     123      <Filter>Resource Files\Icon</Filter>
    121124    </Image>
    122125    <Image Include="CreatedFilter.ico">
    123       <Filter>Resource Files</Filter>
     126      <Filter>Resource Files\Icon</Filter>
    124127    </Image>
    125128    <Image Include="Exclamation.ico">
    126       <Filter>Resource Files</Filter>
     129      <Filter>Resource Files\Icon</Filter>
    127130    </Image>
    128131    <Image Include="Failure.ico">
    129       <Filter>Resource Files</Filter>
     132      <Filter>Resource Files\Icon</Filter>
    130133    </Image>
    131134    <Image Include="Information.ico">
    132       <Filter>Resource Files</Filter>
     135      <Filter>Resource Files\Icon</Filter>
    133136    </Image>
    134137    <Image Include="Module.ico">
    135       <Filter>Resource Files</Filter>
     138      <Filter>Resource Files\Icon</Filter>
    136139    </Image>
    137140    <Image Include="RemoveFilter.ico">
    138       <Filter>Resource Files</Filter>
     141      <Filter>Resource Files\Icon</Filter>
    139142    </Image>
    140143    <Image Include="SelectedFilter.ico">
    141       <Filter>Resource Files</Filter>
     144      <Filter>Resource Files\Icon</Filter>
    142145    </Image>
    143146    <Image Include="Success.ico">
    144       <Filter>Resource Files</Filter>
     147      <Filter>Resource Files\Icon</Filter>
    145148    </Image>
    146149  </ItemGroup>
  • trunk/DirectShowSpy/FilterGraphSpy.h

    r546 r608  
    17121712
    17131713OBJECT_ENTRY_AUTO(__uuidof(NoThreadSpy), CNoThreadSpy)
     1714
     1715////////////////////////////////////////////////////////////
     1716// CPrivateThreadSpy
     1717
     1718class ATL_NO_VTABLE CPrivateThreadSpy :
     1719        public CSpyT<CPrivateThreadSpy, &CLSID_FilterGraphPrivateThread>,
     1720        public CComCoClass<CPrivateThreadSpy, &CLSID_PrivateThreadSpy>
     1721{
     1722public:
     1723        enum { IDR = IDR_PRIVATETHREADFILTERGRAPHSPY };
     1724
     1725private:
     1726        static LPCTSTR g_pszClassName;
     1727
     1728public:
     1729        //typedef CBlackListAwareComCreatorT<CComObjectCached<CPrivateThreadSpy>, CPrivateThreadSpy, &g_pszClassName> _ClassFactoryCreatorClass; // DECLARE_CLASSFACTORY override
     1730        typedef CComCreator2<CBlackListAwareComCreatorT<CComObject<CPrivateThreadSpy>, CPrivateThreadSpy, &g_pszClassName>, CBlackListAwareComCreatorT<CComAggObject<CPrivateThreadSpy>, CPrivateThreadSpy, &g_pszClassName> > _CreatorClass; // DECLARE_AGGREGATABLE override
     1731
     1732public:
     1733// CPrivateThreadSpy
     1734};
     1735
     1736__declspec(selectany) LPCTSTR CPrivateThreadSpy::g_pszClassName = _T("CPrivateThreadSpy");
     1737
     1738OBJECT_ENTRY_AUTO(__uuidof(PrivateThreadSpy), CPrivateThreadSpy)
  • trunk/DirectShowSpy/Module.idl

    r503 r608  
    164164        };
    165165        [
     166                uuid(A4AE1D54-92B3-4F11-B351-AC483155D914),
     167                helpstring("PrivateThreadSpy Class")
     168        ]
     169        coclass PrivateThreadSpy
     170        {
     171                [default] interface ISpy;
     172                //interface ISpyEx;
     173                interface IModuleVersionInformation;
     174                interface IFilterGraphMemoryAllocatorData;
     175        };
     176        [
    166177                object,
    167178                uuid(34B280D7-A144-4a64-BCB9-3616896F6877),
  • trunk/DirectShowSpy/resource.h

    r503 r608  
    153153#define IDR_FILTERGRAPHSPY              25000
    154154#define IDR_NOTHREADFILTERGRAPHSPY      25001
    155 #define IDR_FILTERMAPPERSPY             25002
    156 #define IDR_SYSTEMDEVICEENUMERATORSPY   25003
     155#define IDR_PRIVATETHREADFILTERGRAPHSPY 25002
     156#define IDR_FILTERMAPPERSPY             25003
     157#define IDR_SYSTEMDEVICEENUMERATORSPY   25004
    157158#define IDR_FILTERGRAPHHELPER           25050
    158159#define IDR_FILTERGRAPHTABLEITEM                25051
Note: See TracChangeset for help on using the changeset viewer.