Changeset 4136 for trunk/src/ddraw/OS2DDRAW.H
- Timestamp:
- Aug 31, 2000, 7:57:10 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/OS2DDRAW.H
r4135 r4136 1 /* $Id: OS2DDRAW.H,v 1.1 2 2000-08-31 12:48:41sandervl Exp $ */1 /* $Id: OS2DDRAW.H,v 1.13 2000-08-31 17:57:10 sandervl Exp $ */ 2 2 3 3 /* … … 42 42 // ToDO : 43 43 // debug into DirectDrawCreate and se what MS is doing ! 44 //Use for Direct3D interface (This != this) 45 IDirect3DVtbl *lpVtbl3D; 46 IDirect3DVtbl *lpVtbl3D2; 47 DWORD *pdwUnknownData3D; 48 44 49 IDirectDrawVtbl Vtbl; 45 50 IDirectDraw2Vtbl Vtbl2; … … 141 146 }; 142 147 148 #define OFFSET_D3DVTABLE (LONG)(&((OS2IDirectDraw *)NULL)->lpVtbl3D) 149 #define DDraw3D_GetThisPtr(a) (OS2IDirectDraw *)((ULONG)a-OFFSET_D3DVTABLE) 150 143 151 //****************************************************************************** 144 152 HRESULT __stdcall DrawQueryInterface(THIS, REFIID riid, LPVOID * ppvObj);
Note:
See TracChangeset
for help on using the changeset viewer.