summaryrefslogtreecommitdiffstats
path: root/dxsdk/Include/amparse.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-02 10:25:55 +0200
committerGitHub <noreply@github.com>2019-06-02 10:25:55 +0200
commit9c26e46e17b421288f7653f4c9cff81b4b6cdfb0 (patch)
treec1b34122ddd4be0461a5310c964e8218b9f5781e /dxsdk/Include/amparse.h
parentimplemented splashes; fixed zones (diff)
parentMerge branch 'master' into master (diff)
downloadre3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar
re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.gz
re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.bz2
re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.lz
re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.xz
re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.zst
re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.zip
Diffstat (limited to 'dxsdk/Include/amparse.h')
-rw-r--r--dxsdk/Include/amparse.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/dxsdk/Include/amparse.h b/dxsdk/Include/amparse.h
new file mode 100644
index 00000000..ce7a388d
--- /dev/null
+++ b/dxsdk/Include/amparse.h
@@ -0,0 +1,38 @@
+//------------------------------------------------------------------------------
+// File: AMParse.h
+//
+// Desc: Interface to the parser to get current time. This is useful for
+// multifile playback.
+//
+// Copyright (c) 1996-2001, Microsoft Corporation. All rights reserved.
+//------------------------------------------------------------------------------
+
+
+#ifndef __AMPARSE__
+#define __AMPARSE__
+
+#ifdef __cplusplus
+extern "C" {
+#endif // __cplusplus
+
+
+DEFINE_GUID(IID_IAMParse,
+0xc47a3420, 0x005c, 0x11d2, 0x90, 0x38, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x98);
+
+//
+// Parser interface - supported by MPEG-2 splitter filter
+//
+DECLARE_INTERFACE_(IAMParse, IUnknown) {
+ STDMETHOD(GetParseTime) (THIS_
+ REFERENCE_TIME *prtCurrent
+ ) PURE;
+ STDMETHOD(SetParseTime) (THIS_
+ REFERENCE_TIME rtCurrent
+ ) PURE;
+ STDMETHOD(Flush) (THIS) PURE;
+};
+
+#ifdef __cplusplus
+}
+#endif // __cplusplus
+#endif // __AMPARSE__