X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fd3d9.py;h=c3f28008502a6e2ccaa0a5f3ee3fce9a01eea960;hb=81301939f025407ceb284a9dcd5d5a1f05d27b8f;hp=3443feeb971f354e0eb1b882c40e3ef99df54c56;hpb=2b807458f983e01e6c5c49a6c77ee28a145a1b2d;p=apitrace diff --git a/specs/d3d9.py b/specs/d3d9.py index 3443fee..c3f2800 100644 --- a/specs/d3d9.py +++ b/specs/d3d9.py @@ -418,7 +418,7 @@ IDirect3DSwapChain9Ex.methods += [ StdMethod(HRESULT, "GetDisplayModeEx", [Out(Pointer(D3DDISPLAYMODEEX), "pMode"), Out(Pointer(D3DDISPLAYROTATION), "pRotation")], sideeffects=False), ] -d3d9 = API("d3d9") +d3d9 = Module("d3d9") d3d9.addFunctions([ StdFunction(PDIRECT3D9, "Direct3DCreate9", [(UINT, "SDKVersion")], fail='NULL'), StdFunction(HRESULT, "Direct3DCreate9Ex", [(UINT, "SDKVersion"), Out(Pointer(PDIRECT3D9EX), "ppD3D")], fail='D3DERR_NOTAVAILABLE'),