Ignore:
Timestamp:
May 18, 2015, 2:09:09 AM (7 years ago)
Author:
roman
Message:

Added media sample trace API and UI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DirectShowSpy/Module.idl

    r438 r440  
    5252        [
    5353                object,
     54                uuid(B8270A07-1A10-41B1-B5A6-D8D9397020A8),
     55                nonextensible,
     56                helpstring("IMediaSampleTrace Interface"),
     57                pointer_default(unique)
     58        ]
     59        interface IMediaSampleTrace : IUnknown
     60        {
     61                HRESULT RegisterNewSegment([in] IUnknown* pBaseFilterUnknown, [in] const WCHAR* pszStreamName, [in] LONGLONG nStartTime, [in] LONGLONG nStopTime, [in] DOUBLE fRate, [in] const WCHAR* pszComment);
     62                HRESULT RegisterMediaSample([in] IUnknown* pBaseFilterUnknown, [in] const WCHAR* pszStreamName, [in] const BYTE* pnSamplePropertiesData, [in] const WCHAR* pszComment);
     63                HRESULT RegisterEndOfStream([in] IUnknown* pBaseFilterUnknown, [in] const WCHAR* pszStreamName, [in] const WCHAR* pszComment);
     64                HRESULT RegisterComment([in] IUnknown* pBaseFilterUnknown, [in] const WCHAR* pszStreamName, [in] const WCHAR* pszComment);
     65        };
     66        [
     67                object,
    5468                uuid(6945711B-FE0F-4C54-965F-5B67969C28B7),
    5569                dual,
     
    7084                [id(7)] HRESULT OpenGraphEdit([in] LONG nParentWindowHandle, [out, retval] VARIANT_BOOL* pbResult);
    7185                [id(8)] HRESULT ReadRunPropertyBag([in] IUnknown* pBaseFilterUnknown, [in] VARIANT_BOOL bAllowExtension, [out, retval] VARIANT* pvValue);
     86                [id(9)] HRESULT CreateMediaSampleTrace([out, retval] IMediaSampleTrace** ppMediaSampleTrace);
    7287        };
    7388        [
Note: See TracChangeset for help on using the changeset viewer.