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
6f643290
Commit
6f643290
authored
Nov 08, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: WINMM_CheckForMMSystem() is not used, remove it.
parent
dff253ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
winmm.c
dlls/winmm/winmm.c
+0
-28
No files found.
dlls/winmm/winmm.c
View file @
6f643290
...
...
@@ -99,34 +99,6 @@ static void WINMM_DeleteIData(void)
}
/******************************************************************
* WINMM_LoadMMSystem
*
*/
static
HANDLE
(
WINAPI
*
pGetModuleHandle16
)(
LPCSTR
);
static
DWORD
(
WINAPI
*
pLoadLibrary16
)(
LPCSTR
);
BOOL
WINMM_CheckForMMSystem
(
void
)
{
/* 0 is not checked yet, -1 is not present, 1 is present */
static
int
loaded
/* = 0 */
;
if
(
loaded
==
0
)
{
HANDLE
h
=
GetModuleHandleA
(
"kernel32"
);
loaded
=
-
1
;
if
(
h
)
{
pGetModuleHandle16
=
(
void
*
)
GetProcAddress
(
h
,
"GetModuleHandle16"
);
pLoadLibrary16
=
(
void
*
)
GetProcAddress
(
h
,
(
LPCSTR
)
35
);
/* ordinal for LoadLibrary16 */
if
(
pGetModuleHandle16
&&
pLoadLibrary16
&&
(
pGetModuleHandle16
(
"MMSYSTEM.DLL"
)
||
pLoadLibrary16
(
"MMSYSTEM.DLL"
)))
loaded
=
1
;
}
}
return
loaded
>
0
;
}
/******************************************************************
* WINMM_ErrorToString
*/
const
char
*
WINMM_ErrorToString
(
MMRESULT
error
)
...
...
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