X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fd3d11.py;h=578d2144f855057eccc58247e2aa0156ae7cb31f;hb=81301939f025407ceb284a9dcd5d5a1f05d27b8f;hp=4566ea15218b539e10ff9e332a7b394a9b6a8cc8;hpb=2b807458f983e01e6c5c49a6c77ee28a145a1b2d;p=apitrace diff --git a/specs/d3d11.py b/specs/d3d11.py index 4566ea1..578d214 100644 --- a/specs/d3d11.py +++ b/specs/d3d11.py @@ -1213,7 +1213,7 @@ ID3D11Device.methods += [ StdMethod(UINT, "GetExceptionMode", [], sideeffects=False), ] -d3d11 = API("d3d11") +d3d11 = Module("d3d11") d3d11.addFunctions([ StdFunction(HRESULT, "D3D11CreateDevice", [(ObjPointer(IDXGIAdapter), "pAdapter"), (D3D_DRIVER_TYPE, "DriverType"), (HMODULE, "Software"), (D3D11_CREATE_DEVICE_FLAG, "Flags"), (Array(Const(D3D_FEATURE_LEVEL), "FeatureLevels"), "pFeatureLevels"), (UINT, "FeatureLevels"), (UINT, "SDKVersion"), Out(Pointer(ObjPointer(ID3D11Device)), "ppDevice"), Out(Pointer(D3D_FEATURE_LEVEL), "pFeatureLevel"), Out(Pointer(ObjPointer(ID3D11DeviceContext)), "ppImmediateContext")]),