2007-04-14 20:07:28 +00:00
|
|
|
|
|
|
|
#ifndef __DSHOW_INCLUDED__
|
|
|
|
#define __DSHOW_INCLUDED__
|
|
|
|
|
2009-08-29 17:01:29 +00:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning(disable:4100)
|
|
|
|
#pragma warning(disable:4201)
|
|
|
|
#pragma warning(disable:4511)
|
|
|
|
#pragma warning(disable:4512)
|
|
|
|
#pragma warning(disable:4514)
|
|
|
|
#if _MSC_VER>=1100
|
|
|
|
#define AM_NOVTABLE __declspec(novtable)
|
|
|
|
#else
|
|
|
|
#define AM_NOVTABLE
|
|
|
|
#endif
|
2009-08-29 14:24:48 +00:00
|
|
|
#endif
|
2009-08-29 17:01:29 +00:00
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <windowsx.h>
|
2007-04-14 20:07:28 +00:00
|
|
|
#include <olectl.h>
|
|
|
|
#include <ddraw.h>
|
|
|
|
#include <mmsystem.h>
|
2009-08-29 17:01:29 +00:00
|
|
|
/*
|
|
|
|
#ifndef NO_DSHOW_STRSAFE
|
|
|
|
#define NO_SHLWAPI_STRFCNS
|
|
|
|
#include <strsafe.h>
|
|
|
|
#endif
|
|
|
|
*/
|
2007-04-14 20:07:28 +00:00
|
|
|
#ifndef NUMELMS
|
2009-08-29 17:01:29 +00:00
|
|
|
#define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0]))
|
2007-04-14 20:07:28 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <strmif.h>
|
|
|
|
#include <amvideo.h>
|
2009-08-29 17:01:29 +00:00
|
|
|
#include <amaudio.h>
|
2007-04-14 20:07:28 +00:00
|
|
|
#include <control.h>
|
|
|
|
#include <evcode.h>
|
|
|
|
#include <uuids.h>
|
|
|
|
#include <errors.h>
|
2009-08-29 17:01:29 +00:00
|
|
|
#include <edevdefs.h>
|
2007-04-14 20:07:28 +00:00
|
|
|
#include <audevcod.h>
|
2009-08-29 17:01:29 +00:00
|
|
|
#include <dvdevcod.h>
|
|
|
|
|
|
|
|
#ifndef InterlockedExchangePointer
|
|
|
|
#define InterlockedExchangePointer(Target, Value) (PVOID)InterlockedExchange((PLONG)(Target), (LONG)(Value))
|
|
|
|
#endif
|
2007-04-14 20:07:28 +00:00
|
|
|
|
|
|
|
#ifndef OATRUE
|
2009-08-29 17:01:29 +00:00
|
|
|
#define OATRUE (-1)
|
2007-04-14 20:07:28 +00:00
|
|
|
#endif
|
2009-08-29 17:01:29 +00:00
|
|
|
|
2007-04-14 20:07:28 +00:00
|
|
|
#ifndef OAFALSE
|
2009-08-29 17:01:29 +00:00
|
|
|
#define OAFALSE (0)
|
|
|
|
#endif
|
|
|
|
|
2007-10-19 23:21:45 +00:00
|
|
|
#endif
|
2007-04-14 20:07:28 +00:00
|
|
|
|