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
d20f9824
Commit
d20f9824
authored
Apr 28, 2008
by
Lei Zhang
Committed by
Alexandre Julliard
Apr 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Do not unload drivers when the process is terminating.
parent
d2a84615
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
winmm.c
dlls/winmm/winmm.c
+6
-0
No files found.
dlls/winmm/winmm.c
View file @
d20f9824
...
@@ -193,8 +193,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
...
@@ -193,8 +193,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
/* close all opened MCI drivers */
/* close all opened MCI drivers */
MCI_SendCommand
(
MCI_ALL_DEVICE_ID
,
MCI_CLOSE
,
MCI_WAIT
,
0L
,
TRUE
);
MCI_SendCommand
(
MCI_ALL_DEVICE_ID
,
MCI_CLOSE
,
MCI_WAIT
,
0L
,
TRUE
);
MMDRV_Exit
();
MMDRV_Exit
();
/* There's no guarantee the drivers haven't already been unloaded on
* process shutdown.
*/
if
(
!
fImpLoad
)
{
/* now unload all remaining drivers... */
/* now unload all remaining drivers... */
DRIVER_UnloadAll
();
DRIVER_UnloadAll
();
}
WINMM_DeleteIData
();
WINMM_DeleteIData
();
break
;
break
;
...
...
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