[1/5] include: Add some d3dcompiler-related definitions.
Matteo Bruni
matteo.mystral at gmail.com
Tue Aug 3 12:04:14 CDT 2010
-------------- next part --------------
From d5ff16e7d70c7b701aed2a74ac5529a9453f3ffb Mon Sep 17 00:00:00 2001
From: Matteo Bruni <matteo.mystral at gmail.com>
Date: Tue, 3 Aug 2010 18:44:25 +0200
Subject: include: Add some d3dcompiler-related definitions.
---
include/d3dcommon.idl | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/include/d3dcommon.idl b/include/d3dcommon.idl
index b9cdf0e..6cba9d2 100644
--- a/include/d3dcommon.idl
+++ b/include/d3dcommon.idl
@@ -19,6 +19,14 @@
import "oaidl.idl";
import "ocidl.idl";
+typedef struct _D3D_SHADER_MACRO
+{
+ LPCSTR Name;
+ LPCSTR Definition;
+} D3D_SHADER_MACRO;
+
+typedef struct _D3D_SHADER_MACRO* LPD3D_SHADER_MACRO;
+
[
object,
local,
@@ -33,3 +41,28 @@ interface ID3D10Blob : IUnknown
typedef ID3D10Blob* LPD3D10BLOB;
typedef ID3D10Blob ID3DBlob;
typedef ID3DBlob* LPD3DBLOB;
+
+typedef enum _D3D_INCLUDE_TYPE
+{
+ D3D_INCLUDE_LOCAL = 0,
+ D3D_INCLUDE_SYSTEM,
+ D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL,
+ D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM,
+ D3D_INCLUDE_FORCE_DWORD = 0x7fffffff
+} D3D_INCLUDE_TYPE;
+
+[
+ object,
+ local,
+]
+interface ID3DInclude
+{
+ HRESULT Open(D3D_INCLUDE_TYPE include_type,
+ const char *filename,
+ const void *parent_data,
+ const void **data,
+ UINT *bytes);
+ HRESULT Close(const void *data);
+}
+
+typedef ID3DInclude* LPD3DINCLUDE;
--
1.7.1
More information about the wine-patches
mailing list