summaryrefslogtreecommitdiff
path: root/sdk/dx8sdk/Include/DShow.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-02 19:49:12 +0300
committerSergeanur <s.anureev@yandex.ua>2020-08-02 19:49:12 +0300
commit3e24ae8812ca4a0031d82ea7f7393605b8a4283a (patch)
tree5cc79378e86970d3b63cbed173d627410ea90ca6 /sdk/dx8sdk/Include/DShow.h
parentbda383c9cd8e1fafda3878801dbfacbf62949430 (diff)
parenta786dd45a4ebc6b91936b5e46d0ef0a9befc05af (diff)
Merge branch 'master' into miami
# Conflicts: # premake5.lua # sdk/rwsdk/include/d3d8/baaplylt.c # sdk/rwsdk/include/d3d8/rpstereo.h # sdk/rwsdk/include/d3d8/rpstereo.rpe # sdk/rwsdk/include/d3d8/rtintel.h # sdk/rwsdk/include/d3d8/rtintel.rpe # src/audio/oal/stream.cpp
Diffstat (limited to 'sdk/dx8sdk/Include/DShow.h')
-rw-r--r--sdk/dx8sdk/Include/DShow.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/sdk/dx8sdk/Include/DShow.h b/sdk/dx8sdk/Include/DShow.h
new file mode 100644
index 00000000..54b6fbfb
--- /dev/null
+++ b/sdk/dx8sdk/Include/DShow.h
@@ -0,0 +1,78 @@
+//------------------------------------------------------------------------------
+// File: DShow.h
+//
+// Desc: DirectShow top-level include file
+//
+// Copyright (c) 2000-2001, Microsoft Corporation. All rights reserved.
+//------------------------------------------------------------------------------
+
+#ifndef __DSHOW_INCLUDED__
+#define __DSHOW_INCLUDED__
+
+///////////////////////////////////////////////////////////////////////////
+// Set up constants & pragmas for the compiler
+///////////////////////////////////////////////////////////////////////////
+#ifdef _MSC_VER
+// disable some level-4 warnings, use #pragma warning(default:###) to re-enable
+#pragma warning(disable:4100) // warning C4100: unreferenced formal parameter
+#pragma warning(disable:4201) // warning C4201: nonstandard extension used : nameless struct/union
+#pragma warning(disable:4511) // warning C4511: copy constructor could not be generated
+#pragma warning(disable:4512) // warning C4512: assignment operator could not be generated
+#pragma warning(disable:4514) // warning C4514: "unreferenced inline function has been removed"
+
+#if _MSC_VER>=1100
+#define AM_NOVTABLE __declspec(novtable)
+#else
+#define AM_NOVTABLE
+#endif
+#endif // MSC_VER
+
+///////////////////////////////////////////////////////////////////////////
+// Include standard Windows files
+///////////////////////////////////////////////////////////////////////////
+#include <windows.h>
+#include <windowsx.h>
+#include <olectl.h>
+#include <ddraw.h>
+#include <mmsystem.h>
+
+#ifndef NUMELMS
+ #define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0]))
+#endif
+
+///////////////////////////////////////////////////////////////////////////
+// Include DirectShow include files
+///////////////////////////////////////////////////////////////////////////
+#include <strmif.h> // Generated IDL header file for streams interfaces
+#include <amvideo.h> // ActiveMovie video interfaces and definitions
+#include <amaudio.h> // ActiveMovie audio interfaces and definitions
+#include <control.h> // generated from control.odl
+#include <evcode.h> // event code definitions
+#include <uuids.h> // declaration of type GUIDs and well-known clsids
+#include <errors.h> // HRESULT status and error definitions
+#include <edevdefs.h> // External device control interface defines
+#include <audevcod.h> // audio filter device error event codes
+#include <dvdevcod.h> // DVD error event codes
+
+///////////////////////////////////////////////////////////////////////////
+// Define OLE Automation constants
+///////////////////////////////////////////////////////////////////////////
+#ifndef OATRUE
+#define OATRUE (-1)
+#endif // OATRUE
+#ifndef OAFALSE
+#define OAFALSE (0)
+#endif // OAFALSE
+
+///////////////////////////////////////////////////////////////////////////
+// Define Win64 interfaces if not already defined
+///////////////////////////////////////////////////////////////////////////
+
+// InterlockedExchangePointer
+#ifndef InterlockedExchangePointer
+#define InterlockedExchangePointer(Target, Value) \
+ (PVOID)InterlockedExchange((PLONG)(Target), (LONG)(Value))
+#endif
+
+
+#endif // __DSHOW_INCLUDED__