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/DirectShowSpy_i.h

    r98 r144  
    55
    66 /* File created by MIDL compiler version 7.00.0500 */
    7 /* at Wed Aug 22 01:07:15 2012
     7/* at Sat Nov 17 01:35:16 2012
    88 */
    99/* Compiler settings for .\DirectShowSpy.idl:
     
    5858
    5959
     60#ifndef __ISystemDeviceEnumeratorSpy_FWD_DEFINED__
     61#define __ISystemDeviceEnumeratorSpy_FWD_DEFINED__
     62typedef interface ISystemDeviceEnumeratorSpy ISystemDeviceEnumeratorSpy;
     63#endif  /* __ISystemDeviceEnumeratorSpy_FWD_DEFINED__ */
     64
     65
    6066#ifndef __IFilterGraphAddRemoveHook_FWD_DEFINED__
    6167#define __IFilterGraphAddRemoveHook_FWD_DEFINED__
     
    110116
    111117#endif  /* __FilterMapperSpy_FWD_DEFINED__ */
     118
     119
     120#ifndef __SystemDeviceEnumeratorSpy_FWD_DEFINED__
     121#define __SystemDeviceEnumeratorSpy_FWD_DEFINED__
     122
     123#ifdef __cplusplus
     124typedef class SystemDeviceEnumeratorSpy SystemDeviceEnumeratorSpy;
     125#else
     126typedef struct SystemDeviceEnumeratorSpy SystemDeviceEnumeratorSpy;
     127#endif /* __cplusplus */
     128
     129#endif  /* __SystemDeviceEnumeratorSpy_FWD_DEFINED__ */
    112130
    113131
     
    343361
    344362
     363#ifndef __ISystemDeviceEnumeratorSpy_INTERFACE_DEFINED__
     364#define __ISystemDeviceEnumeratorSpy_INTERFACE_DEFINED__
     365
     366/* interface ISystemDeviceEnumeratorSpy */
     367/* [unique][helpstring][nonextensible][oleautomation][dual][uuid][object] */
     368
     369
     370EXTERN_C const IID IID_ISystemDeviceEnumeratorSpy;
     371
     372#if defined(__cplusplus) && !defined(CINTERFACE)
     373   
     374    MIDL_INTERFACE("14EB119F-25CE-4654-ABE1-E6742AF03F2D")
     375    ISystemDeviceEnumeratorSpy : public IDispatch
     376    {
     377    public:
     378    };
     379   
     380#else   /* C style interface */
     381
     382    typedef struct ISystemDeviceEnumeratorSpyVtbl
     383    {
     384        BEGIN_INTERFACE
     385       
     386        HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
     387            ISystemDeviceEnumeratorSpy * This,
     388            /* [in] */ REFIID riid,
     389            /* [iid_is][out] */
     390            __RPC__deref_out  void **ppvObject);
     391       
     392        ULONG ( STDMETHODCALLTYPE *AddRef )(
     393            ISystemDeviceEnumeratorSpy * This);
     394       
     395        ULONG ( STDMETHODCALLTYPE *Release )(
     396            ISystemDeviceEnumeratorSpy * This);
     397       
     398        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
     399            ISystemDeviceEnumeratorSpy * This,
     400            /* [out] */ UINT *pctinfo);
     401       
     402        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
     403            ISystemDeviceEnumeratorSpy * This,
     404            /* [in] */ UINT iTInfo,
     405            /* [in] */ LCID lcid,
     406            /* [out] */ ITypeInfo **ppTInfo);
     407       
     408        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
     409            ISystemDeviceEnumeratorSpy * This,
     410            /* [in] */ REFIID riid,
     411            /* [size_is][in] */ LPOLESTR *rgszNames,
     412            /* [range][in] */ UINT cNames,
     413            /* [in] */ LCID lcid,
     414            /* [size_is][out] */ DISPID *rgDispId);
     415       
     416        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
     417            ISystemDeviceEnumeratorSpy * This,
     418            /* [in] */ DISPID dispIdMember,
     419            /* [in] */ REFIID riid,
     420            /* [in] */ LCID lcid,
     421            /* [in] */ WORD wFlags,
     422            /* [out][in] */ DISPPARAMS *pDispParams,
     423            /* [out] */ VARIANT *pVarResult,
     424            /* [out] */ EXCEPINFO *pExcepInfo,
     425            /* [out] */ UINT *puArgErr);
     426       
     427        END_INTERFACE
     428    } ISystemDeviceEnumeratorSpyVtbl;
     429
     430    interface ISystemDeviceEnumeratorSpy
     431    {
     432        CONST_VTBL struct ISystemDeviceEnumeratorSpyVtbl *lpVtbl;
     433    };
     434
     435   
     436
     437#ifdef COBJMACROS
     438
     439
     440#define ISystemDeviceEnumeratorSpy_QueryInterface(This,riid,ppvObject)  \
     441    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
     442
     443#define ISystemDeviceEnumeratorSpy_AddRef(This) \
     444    ( (This)->lpVtbl -> AddRef(This) )
     445
     446#define ISystemDeviceEnumeratorSpy_Release(This)        \
     447    ( (This)->lpVtbl -> Release(This) )
     448
     449
     450#define ISystemDeviceEnumeratorSpy_GetTypeInfoCount(This,pctinfo)       \
     451    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
     452
     453#define ISystemDeviceEnumeratorSpy_GetTypeInfo(This,iTInfo,lcid,ppTInfo)        \
     454    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
     455
     456#define ISystemDeviceEnumeratorSpy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)      \
     457    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
     458
     459#define ISystemDeviceEnumeratorSpy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)        \
     460    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
     461
     462
     463#endif /* COBJMACROS */
     464
     465
     466#endif  /* C style interface */
     467
     468
     469
     470
     471#endif  /* __ISystemDeviceEnumeratorSpy_INTERFACE_DEFINED__ */
     472
     473
    345474
    346475#ifndef __AlaxInfoDirectShowSpy_LIBRARY_DEFINED__
     
    765894FilterMapperSpy;
    766895#endif
     896
     897EXTERN_C const CLSID CLSID_SystemDeviceEnumeratorSpy;
     898
     899#ifdef __cplusplus
     900
     901class DECLSPEC_UUID("AD42E3BD-7B9B-4783-9DA2-61A9ACD0D4D2")
     902SystemDeviceEnumeratorSpy;
     903#endif
    767904#endif /* __AlaxInfoDirectShowSpy_LIBRARY_DEFINED__ */
    768905
Note: See TracChangeset for help on using the changeset viewer.