mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 15:55:03 +00:00
dsound/tests: Compile with -D__WINESRC__.
This commit is contained in:
parent
edf4dab5ef
commit
4dd5893ad7
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue