Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
20128a92
Commit
20128a92
authored
Dec 12, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Dec 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi/test: Fix tests on win8.
parent
9abb9ffe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
capture.c
dlls/mmdevapi/tests/capture.c
+1
-1
audioclient.idl
include/audioclient.idl
+6
-0
No files found.
dlls/mmdevapi/tests/capture.c
View file @
20128a92
...
...
@@ -559,7 +559,7 @@ static void test_audioclient(void)
ok
(
hr
==
AUDCLNT_E_NOT_INITIALIZED
,
"Initialize with invalid sharemode returns %08x
\n
"
,
hr
);
hr
=
IAudioClient_Initialize
(
ac
,
AUDCLNT_SHAREMODE_SHARED
,
0xffffffff
,
5000000
,
0
,
pwfx
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
||
hr
==
AUDCLNT_E_INVALID_STREAM_FLAG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
/* A period != 0 is ignored and the call succeeds.
* Since we can only initialize successfully once, skip those tests.
...
...
include/audioclient.idl
View file @
20128a92
...
...
@@ -315,6 +315,12 @@ cpp_quote("#define AUDCLNT_E_BUFFER_ERROR AUDCLNT_ERR(0x18)")
cpp_quote("
#
define
AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED
AUDCLNT_ERR
(
0
x19
)
")
/* Hex fail */
cpp_quote("
#
define
AUDCLNT_E_INVALID_DEVICE_PERIOD
AUDCLNT_ERR
(
0
x20
)
")
cpp_quote("
#
define
AUDCLNT_E_INVALID_STREAM_FLAG
AUDCLNT_ERR
(
0
x021
)
")
cpp_quote("
#
define
AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE
AUDCLNT_ERR
(
0
x022
)
")
cpp_quote("
#
define
AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES
AUDCLNT_ERR
(
0
x023
)
")
cpp_quote("
#
define
AUDCLNT_E_OFFLOAD_MODE_ONLY
AUDCLNT_ERR
(
0
x024
)
")
cpp_quote("
#
define
AUDCLNT_E_NONOFFLOAD_MODE_ONLY
AUDCLNT_ERR
(
0
x025
)
")
cpp_quote("
#
define
AUDCLNT_E_RESOURCES_INVALIDATED
AUDCLNT_ERR
(
0
x026
)
")
cpp_quote("
#
define
AUDCLNT_S_BUFFER_EMPTY
AUDCLNT_SUCCESS
(
0
x1
)
")
cpp_quote("
#
define
AUDCLNT_S_THREAD_ALREADY_REGISTERED
AUDCLNT_SUCCESS
(
0
x2
)
")
...
...
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