Author: greatlrd
Date: Sun Apr 15 13:08:13 2007
New Revision: 26352
URL:
http://svn.reactos.org/svn/reactos?rev=26352&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/PIXPlugin.h (with props)
trunk/reactos/include/dxsdk/dmksctrl.h (with props)
trunk/reactos/include/dxsdk/dx7todx8.h (with props)
Added: trunk/reactos/include/dxsdk/PIXPlugin.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/PIXPlugin.h?…
==============================================================================
--- trunk/reactos/include/dxsdk/PIXPlugin.h (added)
+++ trunk/reactos/include/dxsdk/PIXPlugin.h Sun Apr 15 13:08:13 2007
@@ -1,0 +1,47 @@
+
+
+#pragma once
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#define PIX_PLUGIN_SYSTEM_VERSION 0x101
+
+ enum PIXCOUNTERDATATYPE
+{
+ PCDT_RESERVED,
+ PCDT_FLOAT,
+ PCDT_INT,
+ PCDT_INT64,
+ PCDT_STRING,
+};
+
+typedef int PIXCOUNTERID;
+
+struct PIXCOUNTERINFO
+{
+ PIXCOUNTERID counterID;
+ WCHAR* pstrName;
+ PIXCOUNTERDATATYPE pcdtDataType;
+};
+
+struct PIXPLUGININFO
+{
+ HINSTANCE hinst;
+ WCHAR* pstrPluginName;
+ int iPluginVersion;
+ int iPluginSystemVersion;
+};
+
+BOOL WINAPI PIXBeginExperiment( PIXCOUNTERID id, const WCHAR* pstrApplication );
+BOOL WINAPI PIXEndFrame( PIXCOUNTERID id, UINT iFrame, DWORD* pdwReturnBytes, BYTE**
ppReturnData );
+BOOL WINAPI PIXEndExperiment( PIXCOUNTERID id );
+BOOL WINAPI PIXGetCounterInfo( DWORD* pdwReturnCounters, PIXCOUNTERINFO**
ppCounterInfoList );
+BOOL WINAPI PIXGetCounterDesc( PIXCOUNTERID id, WCHAR** ppstrCounterDesc );
+BOOL WINAPI PIXGetPluginInfo( PIXPLUGININFO* pPIXPluginInfo );
+
+#ifdef __cplusplus
+};
+#endif
Propchange: trunk/reactos/include/dxsdk/PIXPlugin.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/dxsdk/dmksctrl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/dmksctrl.h?r…
==============================================================================
--- trunk/reactos/include/dxsdk/dmksctrl.h (added)
+++ trunk/reactos/include/dxsdk/dmksctrl.h Sun Apr 15 13:08:13 2007
@@ -1,0 +1,115 @@
+
+
+ifndef _DMKSCTRL_
+#define _DMKSCTRL_
+
+#if _MSC_VER >= 1200
+#pragma warning(push)
+#endif
+
+#include <pshpack8.h>
+#include <objbase.h>
+
+DEFINE_GUID(IID_IKsControl, 0x28F54685, 0x06FD, 0x11D2, 0xB2, 0x7A,
0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96);
+#ifndef _KSMEDIA_
+DEFINE_GUID(KSDATAFORMAT_SUBTYPE_MIDI, 0x1D262760, 0xE957, 0x11CF, 0xA5, 0xD6,
0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00);
+DEFINE_GUID(KSDATAFORMAT_SUBTYPE_DIRECTMUSIC, 0x1A82F8BC, 0x3F8B, 0x11D2, 0xB7, 0x74,
0x00, 0x60, 0x08, 0x33, 0x16, 0xC1);
+#endif
+
+#ifndef STATIC_IID_IKsControl
+ #define STATIC_IID_IKsControl 0x28F54685L, 0x06FD, 0x11D2, 0xB2, 0x7A, 0x00, 0xA0,
0xC9, 0x22, 0x31, 0x96
+#endif
+
+#if !defined(_NTRTL_)
+ #ifndef STATICGUIDOF
+ #define STATICGUIDOF(guid) STATIC_##guid
+ #endif
+ #ifndef DEFINE_GUIDEX
+ #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID name
+ #endif
+#endif
+
+#ifndef _KS_
+#define _KS_
+#define KSMETHOD_TYPE_NONE 0x00000000
+#define KSMETHOD_TYPE_READ 0x00000001
+#define KSMETHOD_TYPE_WRITE 0x00000002
+#define KSMETHOD_TYPE_MODIFY 0x00000003
+#define KSMETHOD_TYPE_SOURCE 0x00000004
+#define KSMETHOD_TYPE_SEND 0x00000001
+#define KSMETHOD_TYPE_SETSUPPORT 0x00000100
+#define KSMETHOD_TYPE_BASICSUPPORT 0x00000200
+#define KSPROPERTY_TYPE_GET 0x00000001
+#define KSPROPERTY_TYPE_SET 0x00000002
+#define KSPROPERTY_TYPE_SETSUPPORT 0x00000100
+#define KSPROPERTY_TYPE_BASICSUPPORT 0x00000200
+#define KSPROPERTY_TYPE_RELATIONS 0x00000400
+#define KSPROPERTY_TYPE_SERIALIZESET 0x00000800
+#define KSPROPERTY_TYPE_UNSERIALIZESET 0x00001000
+#define KSPROPERTY_TYPE_SERIALIZERAW 0x00002000
+#define KSPROPERTY_TYPE_UNSERIALIZERAW 0x00004000
+#define KSPROPERTY_TYPE_SERIALIZESIZE 0x00008000
+#define KSPROPERTY_TYPE_DEFAULTVALUES 0x00010000
+#define KSPROPERTY_TYPE_TOPOLOGY 0x10000000
+
+#if (defined(_MSC_EXTENSIONS) || defined(__cplusplus)) && !defined(CINTERFACE)
+typedef struct
+{
+ union
+ {
+ struct
+ {
+ GUID Set;
+ ULONG Id;
+ ULONG Flags;
+ };
+ LONGLONG Alignment;
+ };
+} KSIDENTIFIER, *PKSIDENTIFIER,KSPROPERTY, *PKSPROPERTY, KSMETHOD, *PKSMETHOD, KSEVENT,
*PKSEVENT;
+#else
+typedef struct
+{
+ union
+ {
+ struct
+ {
+ GUID Set;
+ ULONG Id;
+ ULONG Flags;
+ } Data;
+ LONGLONG Alignment;
+ };
+} KSIDENTIFIER, *PKSIDENTIFIER,KSPROPERTY, *PKSPROPERTY, KSMETHOD, *PKSMETHOD, KSEVENT,
*PKSEVENT;
+#endif
+#endif
+
+#ifndef _IKsControl_
+#define _IKsControl_
+
+#ifdef DECLARE_INTERFACE_
+
+
+#undef INTERFACE
+#define INTERFACE IKsControl
+DECLARE_INTERFACE_(IKsControl, IUnknown)
+{
+ STDMETHOD(QueryInterface) (THIS_ REFIID, LPVOID FAR *) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+ STDMETHOD(KsProperty)(THIS_ IN PKSPROPERTY Property, IN ULONG PropertyLength, IN OUT
LPVOID PropertyData,
+ IN ULONG DataLength, OUT ULONG* BytesReturned) PURE;
+ STDMETHOD(KsMethod)(THIS_ IN PKSMETHOD Method, IN ULONG MethodLength, IN OUT LPVOID
MethodData,
+ IN ULONG DataLength, OUT ULONG* BytesReturned) PURE;
+ STDMETHOD(KsEvent)(THIS_ IN PKSEVENT Event OPTIONAL, IN ULONG EventLength, IN OUT
LPVOID EventData,
+ IN ULONG DataLength, OUT ULONG* BytesReturned) PURE;
+};
+#endif
+#endif
+
+#include <poppack.h>
+
+#if _MSC_VER >= 1200
+#pragma warning(pop)
+#endif
+
+#endif
Propchange: trunk/reactos/include/dxsdk/dmksctrl.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/dxsdk/dx7todx8.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/dx7todx8.h?r…
==============================================================================
--- trunk/reactos/include/dxsdk/dx7todx8.h (added)
+++ trunk/reactos/include/dxsdk/dx7todx8.h Sun Apr 15 13:08:13 2007
@@ -1,0 +1,85 @@
+
+
+
+#ifndef _DX7TODX8_H_
+
+#define RGBA_MAKE D3DCOLOR_RGBA
+#define RGB_MAKE D3DCOLOR_XRGB
+#define D3DRGBA D3DCOLOR_COLORVALUE
+#define D3DRGB(_r,_g,_b) D3DCOLOR_COLORVALUE(_r,_g,_b,1.f)
+
+#define D3DTRANSFORMSTATE_FORCE_DWORD D3DTS_FORCE_DWORD
+#define D3DTRANSFORMSTATE_PROJECTION D3DTS_PROJECTION
+#define D3DTRANSFORMSTATE_TEXTURE0 D3DTS_TEXTURE0
+#define D3DTRANSFORMSTATE_TEXTURE1 D3DTS_TEXTURE1
+#define D3DTRANSFORMSTATE_TEXTURE2 D3DTS_TEXTURE2
+#define D3DTRANSFORMSTATE_TEXTURE3 D3DTS_TEXTURE3
+#define D3DTRANSFORMSTATE_TEXTURE4 D3DTS_TEXTURE4
+#define D3DTRANSFORMSTATE_TEXTURE5 D3DTS_TEXTURE5
+#define D3DTRANSFORMSTATE_TEXTURE6 D3DTS_TEXTURE6
+#define D3DTRANSFORMSTATE_TEXTURE7 D3DTS_TEXTURE7
+#define D3DTRANSFORMSTATE_VIEW D3DTS_VIEW
+#define D3DTRANSFORMSTATE_WORLD D3DTS_WORLD
+#define D3DTRANSFORMSTATE_WORLD1 D3DTS_WORLD1
+#define D3DTRANSFORMSTATE_WORLD2 D3DTS_WORLD2
+#define D3DTRANSFORMSTATE_WORLD3 D3DTS_WORLD3
+#define D3DRENDERSTATE_ALPHABLENDENABLE D3DRS_ALPHABLENDENABLE
+#define D3DRENDERSTATE_ALPHAFUNC D3DRS_ALPHAFUNC
+#define D3DRENDERSTATE_ALPHAREF D3DRS_ALPHAREF
+#define D3DRENDERSTATE_ALPHATESTENABLE D3DRS_ALPHATESTENABLE
+#define D3DRENDERSTATE_AMBIENT D3DRS_AMBIENT
+#define D3DRENDERSTATE_AMBIENTMATERIALSOURCE D3DRS_AMBIENTMATERIALSOURCE
+#define D3DRENDERSTATE_CLIPPING D3DRS_CLIPPING
+#define D3DRENDERSTATE_CLIPPLANEENABLE D3DRS_CLIPPLANEENABLE
+#define D3DRENDERSTATE_COLORVERTEX D3DRS_COLORVERTEX
+#define D3DRENDERSTATE_CULLMODE D3DRS_CULLMODE
+#define D3DRENDERSTATE_DESTBLEND D3DRS_DESTBLEND
+#define D3DRENDERSTATE_DIFFUSEMATERIALSOURCE D3DRS_DIFFUSEMATERIALSOURCE
+#define D3DRENDERSTATE_DITHERENABLE D3DRS_DITHERENABLE
+#define D3DRENDERSTATE_EDGEANTIALIAS D3DRS_EDGEANTIALIAS
+#define D3DRENDERSTATE_EMISSIVEMATERIALSOURCE D3DRS_EMISSIVEMATERIALSOURCE
+#define D3DRENDERSTATE_EXTENTS D3DRS_EXTENTS
+#define D3DRENDERSTATE_FILLMODE D3DRS_FILLMODE
+#define D3DRENDERSTATE_FOGCOLOR D3DRS_FOGCOLOR
+#define D3DRENDERSTATE_FOGDENSITY D3DRS_FOGDENSITY
+#define D3DRENDERSTATE_FOGENABLE D3DRS_FOGENABLE
+#define D3DRENDERSTATE_FOGEND D3DRS_FOGEND
+#define D3DRENDERSTATE_FOGSTART D3DRS_FOGSTART
+#define D3DRENDERSTATE_FOGTABLEMODE D3DRS_FOGTABLEMODE
+#define D3DRENDERSTATE_FOGVERTEXMODE D3DRS_FOGVERTEXMODE
+#define D3DRENDERSTATE_LASTPIXEL D3DRS_LASTPIXEL
+#define D3DRENDERSTATE_LIGHTING D3DRS_LIGHTING
+#define D3DRENDERSTATE_LINEPATTERN D3DRS_LINEPATTERN
+#define D3DRENDERSTATE_LOCALVIEWER D3DRS_LOCALVIEWER
+#define D3DRENDERSTATE_NORMALIZENORMALS D3DRS_NORMALIZENORMALS
+#define D3DRENDERSTATE_RANGEFOGENABLE D3DRS_RANGEFOGENABLE
+#define D3DRENDERSTATE_SHADEMODE D3DRS_SHADEMODE
+#define D3DRENDERSTATE_SPECULARENABLE D3DRS_SPECULARENABLE
+#define D3DRENDERSTATE_SPECULARMATERIALSOURCE D3DRS_SPECULARMATERIALSOURCE
+#define D3DRENDERSTATE_SRCBLEND D3DRS_SRCBLEND
+#define D3DRENDERSTATE_STENCILENABLE D3DRS_STENCILENABLE
+#define D3DRENDERSTATE_STENCILFAIL D3DRS_STENCILFAIL
+#define D3DRENDERSTATE_STENCILFUNC D3DRS_STENCILFUNC
+#define D3DRENDERSTATE_STENCILMASK D3DRS_STENCILMASK
+#define D3DRENDERSTATE_STENCILPASS D3DRS_STENCILPASS
+#define D3DRENDERSTATE_STENCILREF D3DRS_STENCILREF
+#define D3DRENDERSTATE_STENCILZFAIL D3DRS_STENCILZFAIL
+#define D3DRENDERSTATE_STENCILWRITEMASK D3DRS_STENCILWRITEMASK
+#define D3DRENDERSTATE_TEXTUREFACTOR D3DRS_TEXTUREFACTOR
+#define D3DRENDERSTATE_VERTEXBLEND D3DRS_VERTEXBLEND
+#define D3DRENDERSTATE_WRAP0 D3DRS_WRAP0
+#define D3DRENDERSTATE_WRAP1 D3DRS_WRAP1
+#define D3DRENDERSTATE_WRAP2 D3DRS_WRAP2
+#define D3DRENDERSTATE_WRAP3 D3DRS_WRAP3
+#define D3DRENDERSTATE_WRAP4 D3DRS_WRAP4
+#define D3DRENDERSTATE_WRAP5 D3DRS_WRAP5
+#define D3DRENDERSTATE_WRAP6 D3DRS_WRAP6
+#define D3DRENDERSTATE_WRAP7 D3DRS_WRAP7
+#define D3DRENDERSTATE_ZBIAS D3DRS_ZBIAS
+#define D3DRENDERSTATE_ZENABLE D3DRS_ZENABLE
+#define D3DRENDERSTATE_ZFUNC D3DRS_ZFUNC
+#define D3DRENDERSTATE_ZVISIBLE D3DRS_ZVISIBLE
+#define D3DRENDERSTATE_ZWRITEENABLE D3DRS_ZWRITEENABLE
+
+#define _DX7TODX8_H_
+#endif
Propchange: trunk/reactos/include/dxsdk/dx7todx8.h
------------------------------------------------------------------------------
svn:eol-style = native