Commit 4dd5893a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dsound/tests: Compile with -D__WINESRC__.

parent edf4dab5
TESTDLL = dsound.dll
IMPORTS = ole32 version user32
EXTRADEFS = -U__WINESRC__ -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
capture.c \
......
......@@ -24,8 +24,8 @@
#include "initguid.h"
#include "windows.h"
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "dsconf.h"
#include "dsound_test.h"
......@@ -373,7 +373,7 @@ static void test_capture_buffer(LPDIRECTSOUNDCAPTURE dsco,
state.wfx=&wfx;
state.buffer_size = dscbcaps.dwBufferBytes;
for (i = 0; i < NOTIFICATIONS; i++)
state.event[i] = CreateEvent( NULL, FALSE, FALSE, NULL );
state.event[i] = CreateEventW(NULL, FALSE, FALSE, NULL);
state.size = dscbcaps.dwBufferBytes / NOTIFICATIONS;
rc=IDirectSoundCaptureBuffer_QueryInterface(dscbo,&IID_IDirectSoundNotify,
......
......@@ -28,8 +28,8 @@
#include <math.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "ks.h"
#include "ksmedia.h"
#include "dsound_test.h"
......
......@@ -28,8 +28,8 @@
#include <math.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "ks.h"
#include "ksmedia.h"
#include "dsound_test.h"
......
......@@ -29,9 +29,9 @@
#include <windows.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "dsconf.h"
#include "mmreg.h"
#include "initguid.h"
#include "ks.h"
#include "ksmedia.h"
......@@ -1135,7 +1135,7 @@ static HRESULT test_duplicate(LPGUID lpGuid)
/* Prepare notify events */
for (i=0;i<sizeof(event)/sizeof(event[0]);i++) {
event[i] = CreateEvent(NULL,FALSE,FALSE,NULL);
event[i] = CreateEventW(NULL, FALSE, FALSE, NULL);
}
/* Make silent buffer */
......
......@@ -31,9 +31,9 @@
#include <stdio.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "dsconf.h"
#include "mmreg.h"
#include "ks.h"
#include "ksmedia.h"
......
......@@ -23,8 +23,8 @@
#include <stdio.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "dsconf.h"
#include "dsound_test.h"
......
......@@ -23,6 +23,7 @@
#include <windows.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "dsconf.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment