Changeset 4970 for trunk/src/ddraw/new/ddraw.CPP
- Timestamp:
- Jan 19, 2001, 3:06:55 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/new/ddraw.CPP
r3345 r4970 1 /* $Id: ddraw.CPP,v 1. 1 2000-04-07 18:21:11mike Exp $ */1 /* $Id: ddraw.CPP,v 1.2 2001-01-19 02:06:55 mike Exp $ */ 2 2 3 3 /* 4 4 * DXDraw DLL implementaion 5 5 * 6 * Copyright 1998 Sander va Leeuwen6 * Copyright 1998 Sander van Leeuwen 7 7 * Copyright 1999 Markus Montkowski 8 * 9 * WARNING: DirectDrawCreate defaults to ddraw v4 if lpGUID == NULL!! 10 * 8 11 * 9 12 * Project Odin Software License can be found in LICENSE.TXT … … 46 49 { 47 50 newdraw->Vtbl.AddRef((IDirectDraw2 *)newdraw); 51 48 52 rc = newdraw->GetLastError(); 49 53 if(rc != DD_OK) … … 58 62 return(rc); 59 63 } 64 //****************************************************************************** 65 //****************************************************************************** 66 HRESULT WIN32API DirectDrawCreateEx(LPGUID lpGUID, LPVOID* lplpDD, REFIID iid, LPUNKNOWN pUnkOuter) 67 { 68 dprintf(("DirectDrawCreateEx: %x %x %x %x", lpGUID, lplpDD, iid, pUnkOuter)); 69 /* I don't know about what functionality is unique to Ex */ 70 return OS2DirectDrawCreate(lpGUID,(LPDIRECTDRAW*)lplpDD,pUnkOuter); 71 } 72 60 73 //****************************************************************************** 61 74 typedef BOOL (FAR PASCAL * LPDDENUMCALLBACKA)(GUID FAR *, LPSTR, LPSTR, LPVOID);
Note:
See TracChangeset
for help on using the changeset viewer.