Author: greatlrd
Date: Sun Apr 15 13:31:28 2007
New Revision: 26353
URL:
http://svn.reactos.org/svn/reactos?rev=26353&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/d3dx9shape.h (with props)
trunk/reactos/include/dxsdk/mpconfig.h (with props)
Added: trunk/reactos/include/dxsdk/d3dx9shape.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/d3dx9shape.h…
==============================================================================
--- trunk/reactos/include/dxsdk/d3dx9shape.h (added)
+++ trunk/reactos/include/dxsdk/d3dx9shape.h Sun Apr 15 13:31:28 2007
@@ -1,0 +1,95 @@
+#include "d3dx9.h"
+
+#ifndef __D3DX9SHAPES_H__
+#define __D3DX9SHAPES_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+HRESULT WINAPI
+ D3DXCreateBox(
+ LPDIRECT3DDEVICE9 pDevice,
+ FLOAT Width,
+ FLOAT Height,
+ FLOAT Depth,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency);
+
+HRESULT WINAPI
+ D3DXCreateCylinder(
+ LPDIRECT3DDEVICE9 pDevice,
+ FLOAT Radius1,
+ FLOAT Radius2,
+ FLOAT Length,
+ UINT Slices,
+ UINT Stacks,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency);
+
+HRESULT WINAPI
+D3DXCreatePolygon(
+ LPDIRECT3DDEVICE9 pDevice,
+ FLOAT Length,
+ UINT Sides,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency);
+
+HRESULT WINAPI
+D3DXCreateSphere(
+ LPDIRECT3DDEVICE9 pDevice,
+ FLOAT Radius,
+ UINT Slices,
+ UINT Stacks,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency);
+
+HRESULT WINAPI
+D3DXCreateTeapot(
+ LPDIRECT3DDEVICE9 pDevice,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency);
+
+HRESULT WINAPI
+D3DXCreateTextA(
+ LPDIRECT3DDEVICE9 pDevice,
+ HDC hDC,
+ LPCSTR pText,
+ FLOAT Deviation,
+ FLOAT Extrusion,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency,
+ LPGLYPHMETRICSFLOAT pGlyphMetrics);
+
+HRESULT WINAPI
+D3DXCreateTextW(
+ LPDIRECT3DDEVICE9 pDevice,
+ HDC hDC,
+ LPCWSTR pText,
+ FLOAT Deviation,
+ FLOAT Extrusion,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency,
+ LPGLYPHMETRICSFLOAT pGlyphMetrics);
+
+HRESULT WINAPI
+D3DXCreateTorus(
+ LPDIRECT3DDEVICE9 pDevice,
+ FLOAT InnerRadius,
+ FLOAT OuterRadius,
+ UINT Sides,
+ UINT Rings,
+ LPD3DXMESH* ppMesh,
+ LPD3DXBUFFER* ppAdjacency);
+
+#ifdef UNICODE
+ #define D3DXCreateText D3DXCreateTextW
+#else
+ #define D3DXCreateText D3DXCreateTextA
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
Propchange: trunk/reactos/include/dxsdk/d3dx9shape.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/dxsdk/mpconfig.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/mpconfig.h?r…
==============================================================================
--- trunk/reactos/include/dxsdk/mpconfig.h (added)
+++ trunk/reactos/include/dxsdk/mpconfig.h Sun Apr 15 13:31:28 2007
@@ -1,0 +1,47 @@
+#ifndef __IMPConfig__
+#define __IMPConfig__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum _AM_ASPECT_RATIO_MODE
+{
+ AM_ARMODE_STRETCHED,
+ AM_ARMODE_LETTER_BOX,
+ AM_ARMODE_CROP,
+ AM_ARMODE_STRETCHED_AS_PRIMARY
+} AM_ASPECT_RATIO_MODE;
+
+DECLARE_INTERFACE_(IMixerPinConfig, IUnknown)
+{
+ STDMETHOD (SetRelativePosition)(THIS_ IN DWORD dwLeft, IN DWORD dwTop,
+ IN DWORD dwRight, IN DWORD dwBottom) PURE;
+ STDMETHOD (GetRelativePosition)(THIS_ OUT DWORD *pdwLeft,OUT DWORD *pdwTop,
+ OUT DWORD *pdwRight, OUT DWORD *pdwBottom) PURE;
+
+ STDMETHOD (SetZOrder)(THIS_ IN DWORD dwZOrder) PURE;
+ STDMETHOD (GetZOrder)(THIS_ OUT DWORD *pdwZOrder) PURE;
+ STDMETHOD (SetColorKey)(THIS_ IN COLORKEY *pColorKey) PURE;
+ STDMETHOD (GetColorKey)(THIS_ OUT COLORKEY *pColorKey, OUT DWORD *pColor) PURE;
+ STDMETHOD (SetBlendingParameter)(THIS_ IN DWORD dwBlendingParameter) PURE;
+ STDMETHOD (GetBlendingParameter)(THIS_ OUT DWORD *pdwBlendingParameter) PURE;
+ STDMETHOD (SetAspectRatioMode)(THIS_ IN AM_ASPECT_RATIO_MODE amAspectRatioMode) PURE;
+ STDMETHOD (GetAspectRatioMode)(THIS_ OUT AM_ASPECT_RATIO_MODE* pamAspectRatioMode)
PURE;
+ STDMETHOD (SetStreamTransparent)(THIS_ IN BOOL bStreamTransparent) PURE;
+ STDMETHOD (GetStreamTransparent)(THIS_ OUT BOOL *pbStreamTransparent) PURE;
+};
+
+DECLARE_INTERFACE_(IMixerPinConfig2, IMixerPinConfig)
+{
+ STDMETHOD (SetOverlaySurfaceColorControls)(THIS_ IN LPDDCOLORCONTROL pColorControl)
PURE;
+ STDMETHOD (GetOverlaySurfaceColorControls)(THIS_ OUT LPDDCOLORCONTROL pColorControl)
PURE;
+};
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
Propchange: trunk/reactos/include/dxsdk/mpconfig.h
------------------------------------------------------------------------------
svn:eol-style = native