dsound/tests: Compile with -D__WINESRC__.

This commit is contained in:
Michael Stefaniuc 2013-10-14 23:19:31 +02:00 committed by Alexandre Julliard
parent edf4dab5ef
commit 4dd5893ad7
8 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,5 @@
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 \

View file

@ -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,

View file

@ -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"

View file

@ -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"

View file

@ -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 */

View file

@ -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"

View file

@ -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"

View file

@ -23,6 +23,7 @@
#include <windows.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "dsconf.h"