]> git.cworth.org Git - apitrace/blobdiff - specs/d3d8.py
Try to interpret the SAL annotations.
[apitrace] / specs / d3d8.py
index d3246019215c2988a7c7481fdc2cab70380aa1c3..41e640255f576bd6daa757fdfa58f97ffa211078 100644 (file)
@@ -29,8 +29,7 @@ from winapi import *
 from d3d8types import *
 from d3d8caps import *
 
-HRESULT = Enum("HRESULT", [
-    "D3D_OK",
+HRESULT = MAKE_HRESULT(ok = "D3D_OK", errors = [
     "D3DERR_WRONGTEXTUREFORMAT",
     "D3DERR_UNSUPPORTEDCOLOROPERATION",
     "D3DERR_UNSUPPORTEDCOLORARG",