X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=d3dcaps.py;h=0fa9f1cc162f3bac95512d4858bb3a40cc795928;hb=8384ccb5de91cf5b3dcc16d4a3ef2830c6113ad5;hp=609682688f9174466a2db88601acc4e5036f6a60;hpb=0187fac59ca457bfc203a1d3830abddd6512c16e;p=apitrace diff --git a/d3dcaps.py b/d3dcaps.py index 6096826..0fa9f1c 100644 --- a/d3dcaps.py +++ b/d3dcaps.py @@ -461,6 +461,6 @@ D3DFINDDEVICERESULT = Struct("D3DFINDDEVICERESULT", [ ]) LPD3DFINDDEVICERESULT = Pointer(D3DFINDDEVICERESULT) -LPD3DENUMDEVICESCALLBACK = StdFunction(HRESULT, "LPD3DENUMDEVICESCALLBACK", [(Pointer(GUID), "lpGuid"), (LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID]) -LPD3DENUMDEVICESCALLBACK7 = StdFunction(HRESULT, "LPD3DENUMDEVICESCALLBACK7", [(LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC7, LPVOID]) +LPD3DENUMDEVICESCALLBACK = FunctionPointer(HRESULT, "LPD3DENUMDEVICESCALLBACK", [(Pointer(GUID), "lpGuid"), (LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID]) +LPD3DENUMDEVICESCALLBACK7 = FunctionPointer(HRESULT, "LPD3DENUMDEVICESCALLBACK7", [(LPSTR, "lpDeviceDescription"), (LPSTR, "lpDeviceName"), LPD3DDEVICEDESC7, LPVOID])