1 2 #ifndef __DSHOW_INCLUDED__ 3 #define __DSHOW_INCLUDED__ 4 5 #ifdef _MSC_VER 6 #pragma warning(disable:4100) 7 #pragma warning(disable:4201) 8 #pragma warning(disable:4511) 9 #pragma warning(disable:4512) 10 #pragma warning(disable:4514) 11 #if _MSC_VER>=1100 12 #define AM_NOVTABLE __declspec(novtable) 13 #else 14 #define AM_NOVTABLE 15 #endif 16 #endif 17 18 #include <windows.h> 19 #include <windowsx.h> 20 #include <olectl.h> 21 #include <ddraw.h> 22 #include <mmsystem.h> 23 /* 24 #ifndef NO_DSHOW_STRSAFE 25 #define NO_SHLWAPI_STRFCNS 26 #include <strsafe.h> 27 #endif 28 */ 29 #ifndef NUMELMS 30 #define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0])) 31 #endif 32 33 #include <strmif.h> 34 #include <amvideo.h> 35 #include <amaudio.h> 36 #include <control.h> 37 #include <evcode.h> 38 #include <uuids.h> 39 #include <errors.h> 40 #include <edevdefs.h> 41 #include <audevcod.h> 42 #include <dvdevcod.h> 43 44 #ifndef InterlockedExchangePointer 45 #define InterlockedExchangePointer(Target, Value) (PVOID)InterlockedExchange((PLONG)(Target), (LONG)(Value)) 46 #endif 47 48 #ifndef OATRUE 49 #define OATRUE (-1) 50 #endif 51 52 #ifndef OAFALSE 53 #define OAFALSE (0) 54 #endif 55 56 #endif 57 58