Ignore:
Timestamp:
Jan 19, 2001, 3:06:55 AM (25 years ago)
Author:
mike
Message:

Several fixes to make FS DDRAW build again

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:11 mike Exp $ */
     1/* $Id: ddraw.CPP,v 1.2 2001-01-19 02:06:55 mike Exp $ */
    22
    33/*
    44 * DXDraw DLL implementaion
    55 *
    6  * Copyright 1998 Sander va Leeuwen
     6 * Copyright 1998 Sander van Leeuwen
    77 * Copyright 1999 Markus Montkowski
     8 *
     9 * WARNING: DirectDrawCreate defaults to ddraw v4 if lpGUID == NULL!!
     10 *
    811 *
    912 * Project Odin Software License can be found in LICENSE.TXT
     
    4649  {
    4750    newdraw->Vtbl.AddRef((IDirectDraw2 *)newdraw);
     51
    4852    rc = newdraw->GetLastError();
    4953    if(rc != DD_OK)
     
    5862  return(rc);
    5963}
     64//******************************************************************************
     65//******************************************************************************
     66HRESULT 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
    6073//******************************************************************************
    6174typedef BOOL (FAR PASCAL * LPDDENUMCALLBACKA)(GUID FAR *, LPSTR, LPSTR, LPVOID);
Note: See TracChangeset for help on using the changeset viewer.