00001
00002
00003
00004
00005
00006 #ifndef __STREAMS__
00007 #define __STREAMS__
00008
00009 #ifdef _MSC_VER
00010
00011 #pragma warning(disable:4100)
00012 #pragma warning(disable:4201)
00013 #pragma warning(disable:4511)
00014 #pragma warning(disable:4512)
00015 #pragma warning(disable:4514)
00016
00017 #if _MSC_VER>=1100
00018 #define AM_NOVTABLE __declspec(novtable)
00019 #else
00020 #define AM_NOVTABLE
00021 #endif
00022 #endif
00023
00024 #include <windows.h>
00025 #include <windowsx.h>
00026 #include <olectl.h>
00027 #include <ddraw.h>
00028 #include <mmsystem.h>
00029
00030 #ifndef NUMELMS
00031 #define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0]))
00032 #endif
00033
00034 #ifndef InterlockedExchangePointer
00035 #define InterlockedExchangePointer(Target, Value) \
00036 (PVOID)InterlockedExchange((PLONG)(Target), (LONG)(Value))
00037 #endif
00038
00039 #ifndef _WAVEFORMATEXTENSIBLE_
00040 #define _WAVEFORMATEXTENSIBLE_
00041 typedef struct {
00042 WAVEFORMATEX Format;
00043 union {
00044 WORD wValidBitsPerSample;
00045 WORD wSamplesPerBlock;
00046 WORD wReserved;
00047 } Samples;
00048 DWORD dwChannelMask;
00049
00050 GUID SubFormat;
00051 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
00052 #endif
00053
00054 #if !defined(WAVE_FORMAT_EXTENSIBLE)
00055 #define WAVE_FORMAT_EXTENSIBLE 0xFFFE
00056 #endif
00057
00058 #ifndef GetWindowLongPtr
00059 #define GetWindowLongPtrA GetWindowLongA
00060 #define GetWindowLongPtrW GetWindowLongW
00061 #ifdef UNICODE
00062 #define GetWindowLongPtr GetWindowLongPtrW
00063 #else
00064 #define GetWindowLongPtr GetWindowLongPtrA
00065 #endif
00066 #endif
00067
00068 #ifndef SetWindowLongPtr
00069 #define SetWindowLongPtrA SetWindowLongA
00070 #define SetWindowLongPtrW SetWindowLongW
00071 #ifdef UNICODE
00072 #define SetWindowLongPtr SetWindowLongPtrW
00073 #else
00074 #define SetWindowLongPtr SetWindowLongPtrA
00075 #endif
00076 #endif
00077
00078 #ifndef GWLP_WNDPROC
00079 #define GWLP_WNDPROC (-4)
00080 #endif
00081 #ifndef GWLP_HINSTANCE
00082 #define GWLP_HINSTANCE (-6)
00083 #endif
00084 #ifndef GWLP_HWNDPARENT
00085 #define GWLP_HWNDPARENT (-8)
00086 #endif
00087 #ifndef GWLP_USERDATA
00088 #define GWLP_USERDATA (-21)
00089 #endif
00090 #ifndef GWLP_ID
00091 #define GWLP_ID (-12)
00092 #endif
00093 #ifndef DWLP_MSGRESULT
00094 #define DWLP_MSGRESULT 0
00095 #endif
00096 #ifndef DWLP_DLGPROC
00097 #define DWLP_DLGPROC DWLP_MSGRESULT + sizeof(LRESULT)
00098 #endif
00099 #ifndef DWLP_USER
00100 #define DWLP_USER DWLP_DLGPROC + sizeof(DLGPROC)
00101 #endif
00102
00103 #include <strmif.h>
00104
00105 #include <reftime.h>
00106 #include <wxdebug.h>
00107 #include <amvideo.h>
00108
00109 #include <wxutil.h>
00110 #include <combase.h>
00111 #include <dllsetup.h>
00112 #include <measure.h>
00113 #include <comlite.h>
00114
00115 #include <cache.h>
00116 #include <wxlist.h>
00117 #include <msgthrd.h>
00118 #include <mtype.h>
00119 #include <fourcc.h>
00120 #include <control.h>
00121 #include <ctlutil.h>
00122 #include <evcode.h>
00123 #include <amfilter.h>
00124 #include <transfrm.h>
00125 #include <transip.h>
00126 #include <uuids.h>
00127 #include <source.h>
00128 #include <outputq.h>
00129 #include <errors.h>
00130 #include <renbase.h>
00131 #include <winutil.h>
00132 #include <winctrl.h>
00133 #include <videoctl.h>
00134 #include <refclock.h>
00135 #include <sysclock.h>
00136 #include <pstream.h>
00137 #include <vtrans.h>
00138 #include <amextra.h>
00139 #include <cprop.h>
00140 #include <strmctl.h>
00141 #include <edevdefs.h>
00142 #include <audevcod.h>
00143
00144 #else
00145 #ifdef DEBUG
00146 #pragma message("STREAMS.H included TWICE")
00147 #endif
00148 #endif
00149