include: Add some D3D import and include directives.

oldstable
Francois Gouget 2011-12-30 09:31:53 +01:00 committed by Alexandre Julliard
parent e86ced4ed5
commit 5cb365bac0
3 changed files with 15 additions and 1 deletions

View File

@ -1592,7 +1592,9 @@ interface ID3D10Multithread : IUnknown
BOOL GetMultithreadProtected();
}
cpp_quote("#ifndef D3D10_IGNORE_SDK_LAYERS")
cpp_quote("/* FIXME: # include <d3d10sdklayers.h> */")
cpp_quote("#endif")
cpp_quote("#include \"d3d10misc.h\"")
cpp_quote("#include \"d3d10shader.h\"")
cpp_quote("#include \"d3d10effect.h\"")
/* TODO: Include "d310sdklayers.h" as soon as it exists */

View File

@ -20,6 +20,8 @@ import "oaidl.idl";
import "ocidl.idl";
import "d3d10.idl";
cpp_quote("#include <d3d10_1shader.h>")
typedef enum D3D10_FEATURE_LEVEL1
{

View File

@ -21,6 +21,16 @@ import "ocidl.idl";
import "dxgi.idl";
import "d3dcommon.idl";
cpp_quote("#include <d3d10_1.h>")
cpp_quote("#ifndef D3D11_IGNORE_SDK_LAYERS")
cpp_quote("/* FIXME: # include <d3d11sdklayers.h> */")
cpp_quote("#endif")
cpp_quote("#include <d3d10misc.h>")
cpp_quote("#include <d3d10shader.h>")
cpp_quote("#include <d3d10effect.h>")
cpp_quote("#include <d3d10_1shader.h>")
typedef D3D_SRV_DIMENSION D3D11_SRV_DIMENSION;
typedef D3D_PRIMITIVE D3D11_PRIMITIVE;