from d3d9caps import *
-D3DSHADER9 = OpaquePointer(Const(DWORD))
+D3DSHADER9 = Blob(Const(DWORD), "_shaderSize(pFunction)")
D3DSPD = Flags(DWORD, [
"D3DSPD_IUNKNOWN",
IDirect3DSurface9.methods += [
Method(HRESULT, "GetContainer", [(REFIID, "riid"), Out(Pointer(ObjPointer(Void)), "ppContainer")], sideeffects=False),
Method(HRESULT, "GetDesc", [Out(Pointer(D3DSURFACE_DESC), "pDesc")], sideeffects=False),
- Method(HRESULT, "LockRect", [Out(Pointer(D3DLOCKED_RECT), "pLockedRect"), (ConstPointer(RECT), "pRect"), (D3DLOCK, "Flags")]),
+ Method(HRESULT, "LockRect", [Out(Pointer(D3DLOCKED_RECT_), "pLockedRect"), (ConstPointer(RECT), "pRect"), (D3DLOCK, "Flags")]),
Method(HRESULT, "UnlockRect", []),
Method(HRESULT, "GetDC", [Out(Pointer(HDC), "phdc")]),
Method(HRESULT, "ReleaseDC", [(HDC, "hdc")]),