X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=d3dcaps.py;h=609682688f9174466a2db88601acc4e5036f6a60;hb=7c925496fd7006f55c34b53459d6eed4f8e83d14;hp=515c3c4e74e6362e1f70af1c99238d467c6b9ed1;hpb=885da8e7b6f25253de5fb1d959a7a0dc8812fc10;p=apitrace diff --git a/d3dcaps.py b/d3dcaps.py index 515c3c4..6096826 100644 --- a/d3dcaps.py +++ b/d3dcaps.py @@ -25,7 +25,7 @@ """d3dcaps.h""" -from windows import * +from winapi import * from d3dtypes import * D3DTRANSFORMCAPS = Flags(DWORD, [ @@ -461,6 +461,6 @@ D3DFINDDEVICERESULT = Struct("D3DFINDDEVICERESULT", [ ]) LPD3DFINDDEVICERESULT = Pointer(D3DFINDDEVICERESULT) -LPD3DENUMDEVICESCALLBACK = DllFunction(HRESULT, "LPD3DENUMDEVICESCALLBACK", [(Pointer(GUID), "lpGuid"), (LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID]) -LPD3DENUMDEVICESCALLBACK7 = DllFunction(HRESULT, "LPD3DENUMDEVICESCALLBACK7", [(LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC7, LPVOID]) +LPD3DENUMDEVICESCALLBACK = StdFunction(HRESULT, "LPD3DENUMDEVICESCALLBACK", [(Pointer(GUID), "lpGuid"), (LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID]) +LPD3DENUMDEVICESCALLBACK7 = StdFunction(HRESULT, "LPD3DENUMDEVICESCALLBACK7", [(LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC7, LPVOID])