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
8ccfe80c
Commit
8ccfe80c
authored
Sep 21, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Fix failure on Win9x and NT4.
parent
a1250953
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
dsound.c
dlls/dsound/tests/dsound.c
+8
-1
No files found.
dlls/dsound/tests/dsound.c
View file @
8ccfe80c
...
...
@@ -1068,8 +1068,15 @@ START_TEST(dsound)
hDsound
=
LoadLibrary
(
"dsound.dll"
);
if
(
hDsound
)
{
BOOL
ret
;
ok
(
FreeLibrary
(
hDsound
),
"FreeLibrary(1) returned %d
\n
"
,
GetLastError
());
ok
(
FreeLibrary
(
hDsound
),
"FreeLibrary(2) returned %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
ret
=
FreeLibrary
(
hDsound
);
ok
(
ret
||
broken
(
!
ret
&&
GetLastError
()
==
ERROR_MOD_NOT_FOUND
)
||
/* NT4 */
broken
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_HANDLE
),
/* Win9x */
"FreeLibrary(2) returned %d
\n
"
,
GetLastError
());
ok
(
!
FreeLibrary
(
hDsound
),
"DirectSound DLL still loaded
\n
"
);
}
...
...
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