From 5586cebc708ffe8c3cb882d4de39ca11143dbd43 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 18 Jul 2004 17:16:57 +0000 Subject: [PATCH] - Since DirecrSound is not implemented at all we should return error in DirectSoundCreate. svn path=/trunk/; revision=10201 --- reactos/lib/dsound/dsound.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/reactos/lib/dsound/dsound.c b/reactos/lib/dsound/dsound.c index a8d3162198d..2438d3ee006 100644 --- a/reactos/lib/dsound/dsound.c +++ b/reactos/lib/dsound/dsound.c @@ -1,26 +1,16 @@ -/* $Id: dsound.c,v 1.1 2004/02/03 23:09:48 rcampbell Exp $ - * - * COPYRIGHT: See COPYING in the top level directory - * PROJECT: ReactOS kernel - * FILE: lib/opengl32/opengl32.c - * PURPOSE: OpenGL32 lib - * PROGRAMMER: Anich Gregor (blight), Royce Mitchell III - * UPDATE HISTORY: - * Feb 1, 2004: Created +/* $Id: dsound.c,v 1.2 2004/07/18 17:16:57 navaraf Exp $ */ #include //#include - #define DD_OK 0 - HRESULT WINAPI DirectSoundCreate( LPGUID lpGuid, DWORD* ppDS, LPUNKNOWN pUnkOuter ) { - return DD_OK; + return E_FAIL; } BOOL WINAPI DllMain(HINSTANCE hInstance,DWORD fwdReason, LPVOID lpvReserved)