Tony Wasserka : d3dx9: Add the _D3DXERR enumeration.
Alexandre Julliard
julliard at winehq.org
Mon Mar 10 07:16:53 CDT 2008
Module: wine
Branch: master
Commit: bcb7311516791a2276a3054ac3d0d43129d5e18a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bcb7311516791a2276a3054ac3d0d43129d5e18a
Author: Tony Wasserka <tony.wasserka at freenet.de>
Date: Sat Mar 8 14:25:15 2008 +0100
d3dx9: Add the _D3DXERR enumeration.
---
include/d3dx9.h | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/include/d3dx9.h b/include/d3dx9.h
index 5d9fd5f..dce0aeb 100644
--- a/include/d3dx9.h
+++ b/include/d3dx9.h
@@ -25,4 +25,19 @@
#include "d3dx9math.h"
#include "d3dx9core.h"
+#define _FACDD 0x876
+#define MAKE_DDHRESULT(code) MAKE_HRESULT(1, _FACDD, code)
+
+enum _D3DXERR {
+ D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900),
+ D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901),
+ D3DXERR_CANNOTATTRSORT = MAKE_DDHRESULT(2902),
+ D3DXERR_SKINNINGNOTSUPPORTED = MAKE_DDHRESULT(2903),
+ D3DXERR_TOOMANYINFLUENCES = MAKE_DDHRESULT(2904),
+ D3DXERR_INVALIDDATA = MAKE_DDHRESULT(2905),
+ D3DXERR_LOADEDMESHASNODATA = MAKE_DDHRESULT(2906),
+ D3DXERR_DUPLICATENAMEDFRAGMENT = MAKE_DDHRESULT(2907),
+ D3DXERR_CANNOTREMOVELASTITEM = MAKE_DDHRESULT(2908),
+};
+
#endif
More information about the wine-cvs
mailing list