Changeset 1421 for trunk/src/dsound/DSOUND.CPP
- Timestamp:
- Oct 24, 1999, 1:01:19 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dsound/DSOUND.CPP
r1411 r1421 1 /* $Id: DSOUND.CPP,v 1. 4 1999-10-23 12:35:14sandervl Exp $ */1 /* $Id: DSOUND.CPP,v 1.5 1999-10-23 23:00:49 sandervl Exp $ */ 2 2 3 3 /* … … 10 10 */ 11 11 12 /*@Const************************************************************************13 * Defined Constants *14 *******************************************************************************/15 #define WIN32SDK_NOPOSTWRAPPER16 17 12 /*@Header*********************************************************************** 18 13 * Header Files * … … 22 17 #include <string.h> 23 18 19 #define INITGUID 24 20 #include <dsound.h> 25 //#include "os2dsound.h"21 #include "os2dsound.h" 26 22 27 23 #include <misc.h> … … 33 29 IUnknown *pUnkOuter) 34 30 { 35 dprintf(("DirectSoundCreate %X %X %X\n", lpGUID, ppDS, pUnkOuter));36 #if 037 31 OS2IDirectSound *newsound = new OS2IDirectSound(lpGUID); 38 32 HRESULT rc; 39 33 34 dprintf(("DirectSoundCreate %X %X %X\n", lpGUID, ppDS, pUnkOuter)); 40 35 if(newsound == NULL) return(DSERR_OUTOFMEMORY); 41 36 … … 47 42 else *ppDS = (LPDIRECTSOUND)newsound; 48 43 return(rc); 49 #else50 return(DSERR_NODRIVER);51 #endif52 44 } 53 45 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.