00001
00034 #pragma once
00035
00036
00037 #include <INITGUID.H>
00038
00039 #include <Windows.h>
00040 #include <string>
00041
00042 #pragma warning(push) // disable for this header only
00043 #pragma warning(disable:4312)
00044
00045 #include <streams.h>
00046 #pragma warning(pop) // restore original warning level
00047
00063
00064 DEFINE_GUID( IID_IStatusInterface,
00065 0x8bd6af85,
00066 0xd262,
00067 0x4dbe,
00068 0xb2, 0x53, 0xfa, 0x8, 0xb4, 0xe3, 0x12, 0x5b
00069 );
00070
00071 #undef INTERFACE
00072 #define INTERFACE IStatusInterface
00073 DECLARE_INTERFACE_( IStatusInterface, IUnknown )
00074 {
00075
00076 STDMETHOD(GetLastError)( std::string& sError ) = 0;
00077 STDMETHOD(SetLastError)( std::string sError, bool bNotifyApplication) = 0;
00078 STDMETHOD(SetMediaEventSink) (IMediaEventSink* pEventSink) = 0;
00079
00080 STDMETHOD(SetFriendlyID) ( long lId) = 0;
00081 STDMETHOD(GetFriendlyID) ( long& lId) = 0;
00082 };