Author: greatlrd
Date: Sat Apr 14 23:08:13 2007
New Revision: 26345
URL:
http://svn.reactos.org/svn/reactos?rev=26345&view=rev
Log:
Find some older works, dxsdk header compatible with dxsdk 2004 dec release. I will clean
up sdk so dx thuse dx header belong to dxsdk will be here. later.
In this folder will contain all header that is compatible with dxsdk 2004 dec. later I
will upgrade this folder file to more resent dxsdk headers.
Added:
trunk/reactos/include/dxsdk/dxerr9.h (with props)
trunk/reactos/include/dxsdk/vptype.h (with props)
Added: trunk/reactos/include/dxsdk/dxerr9.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/dxerr9.h?rev…
==============================================================================
--- trunk/reactos/include/dxsdk/dxerr9.h (added)
+++ trunk/reactos/include/dxsdk/dxerr9.h Sat Apr 14 23:08:13 2007
@@ -1,0 +1,44 @@
+ #ifndef
_DXERR9_H_
+#define _DXERR9_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+const char* WINAPI DXGetErrorString9A(HRESULT hr);
+const char* WINAPI DXGetErrorDescription9A(HRESULT hr);
+HRESULT WINAPI DXTraceA( const char* strFile, DWORD dwLine, HRESULT hr, const char*
strMsg, BOOL bPopMsgBox );
+
+const WCHAR* WINAPI DXGetErrorString9W(HRESULT hr);
+const WCHAR* WINAPI DXGetErrorDescription9W(HRESULT hr);
+HRESULT WINAPI DXTraceW( const char* strFile, DWORD dwLine, HRESULT hr, const WCHAR*
strMsg, BOOL bPopMsgBox );
+
+#ifdef UNICODE
+ #define DXGetErrorString9 DXGetErrorString9W
+ #define DXGetErrorDescription9 DXGetErrorDescription9W
+ #define DXTrace DXTraceW
+#else
+ #define DXGetErrorString9 DXGetErrorString9A
+ #define DXGetErrorDescription9 DXGetErrorDescription9A
+ #define DXTrace DXTraceA
+#endif
+
+
+#if defined(DEBUG) | defined(_DEBUG)
+ #define DXTRACE_MSG(str) DXTrace( __FILE__, (DWORD)__LINE__, 0, str,
FALSE )
+ #define DXTRACE_ERR(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str,
FALSE )
+ #define DXTRACE_ERR_MSGBOX(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str,
TRUE )
+#else
+ #define DXTRACE_MSG(str) (0L)
+ #define DXTRACE_ERR(str,hr) (hr)
+ #define DXTRACE_ERR_MSGBOX(str,hr) (hr)
+#endif
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
Propchange: trunk/reactos/include/dxsdk/dxerr9.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/dxsdk/vptype.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/vptype.h?rev…
==============================================================================
--- trunk/reactos/include/dxsdk/vptype.h (added)
+++ trunk/reactos/include/dxsdk/vptype.h Sat Apr 14 23:08:13 2007
@@ -1,0 +1,62 @@
+
+#ifndef __IVPType__
+#define __IVPType__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ typedef enum _AMVP_MODE
+{
+ AMVP_MODE_WEAVE,
+ AMVP_MODE_BOBINTERLEAVED,
+ AMVP_MODE_BOBNONINTERLEAVED,
+ AMVP_MODE_SKIPEVEN,
+ AMVP_MODE_SKIPODD
+} AMVP_MODE;
+
+typedef enum _AMVP_SELECT_FORMAT_BY
+{
+ AMVP_DO_NOT_CARE,
+ AMVP_BEST_BANDWIDTH,
+ AMVP_INPUT_SAME_AS_OUTPUT
+} AMVP_SELECT_FORMAT_BY;
+
+typedef struct _AMVPSIZE
+{
+ DWORD dwWidth;
+ DWORD dwHeight;
+} AMVPSIZE, *LPAMVPSIZE;
+
+typedef struct _AMVPDIMINFO
+{
+ DWORD dwFieldWidth;
+ DWORD dwFieldHeight;
+ DWORD dwVBIWidth;
+ DWORD dwVBIHeight;
+ RECT rcValidRegion;
+} AMVPDIMINFO, *LPAMVPDIMINFO;
+
+typedef struct _AMVPDATAINFO
+{
+ DWORD dwSize;
+ DWORD dwMicrosecondsPerField;
+ AMVPDIMINFO amvpDimInfo;
+ DWORD dwPictAspectRatioX;
+ DWORD dwPictAspectRatioY;
+ BOOL bEnableDoubleClock;
+ BOOL bEnableVACT;
+ BOOL bDataIsInterlaced;
+ LONG lHalfLinesOdd;
+ BOOL bFieldPolarityInverted;
+ DWORD dwNumLinesInVREF;
+ LONG lHalfLinesEven;
+ DWORD dwReserved1;
+} AMVPDATAINFO, *LPAMVPDATAINFO;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
Propchange: trunk/reactos/include/dxsdk/vptype.h
------------------------------------------------------------------------------
svn:eol-style = native