Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fc0c0be1
Commit
fc0c0be1
authored
Oct 15, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi/tests: Compile with -D__WINESRC__.
parent
51ce8f25
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Makefile.in
dlls/mmdevapi/tests/Makefile.in
+0
-1
dependency.c
dlls/mmdevapi/tests/dependency.c
+4
-4
render.c
dlls/mmdevapi/tests/render.c
+1
-0
No files found.
dlls/mmdevapi/tests/Makefile.in
View file @
fc0c0be1
TESTDLL
=
mmdevapi.dll
IMPORTS
=
ole32 version user32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
capture.c
\
...
...
dlls/mmdevapi/tests/dependency.c
View file @
fc0c0be1
...
...
@@ -68,24 +68,24 @@ START_TEST(dependency)
goto
cleanup
;
}
ok
(
!
GetModuleHandle
(
"dsound.dll"
),
"dsound.dll was already loaded!
\n
"
);
ok
(
!
GetModuleHandle
A
(
"dsound.dll"
),
"dsound.dll was already loaded!
\n
"
);
hr
=
IMMDevice_Activate
(
dev
,
&
IID_IDirectSound8
,
CLSCTX_INPROC_SERVER
,
NULL
,
(
void
**
)
&
ds8
);
ok
(
hr
==
S_OK
,
"Activating ds8 interface failed: 0x%08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
ok
(
GetModuleHandle
(
"dsound.dll"
)
!=
NULL
,
"dsound.dll not loaded!
\n
"
);
ok
(
GetModuleHandle
A
(
"dsound.dll"
)
!=
NULL
,
"dsound.dll not loaded!
\n
"
);
ok
(
ds8
!=
NULL
,
"ds8 pointer is null
\n
"
);
}
if
(
ds8
)
IDirectSound8_Release
(
ds8
);
ok
(
!
GetModuleHandle
(
"quartz.dll"
),
"quartz.dll was already loaded!
\n
"
);
ok
(
!
GetModuleHandle
A
(
"quartz.dll"
),
"quartz.dll was already loaded!
\n
"
);
hr
=
IMMDevice_Activate
(
dev
,
&
IID_IBaseFilter
,
CLSCTX_INPROC_SERVER
,
NULL
,
(
void
**
)
&
bf
);
ok
(
hr
==
S_OK
,
"Activating bf failed: 0x%08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
ok
(
GetModuleHandle
(
"quartz.dll"
)
!=
NULL
,
"quartz.dll not loaded!
\n
"
);
ok
(
GetModuleHandle
A
(
"quartz.dll"
)
!=
NULL
,
"quartz.dll not loaded!
\n
"
);
ok
(
bf
!=
NULL
,
"bf pointer is null
\n
"
);
if
(
bf
)
{
...
...
dlls/mmdevapi/tests/render.c
View file @
fc0c0be1
...
...
@@ -36,6 +36,7 @@
#include "unknwn.h"
#include "uuids.h"
#include "mmdeviceapi.h"
#include "mmsystem.h"
#include "audioclient.h"
#include "audiopolicy.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment