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
3699ef77
Commit
3699ef77
authored
Mar 28, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Mar 28, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do a LoadLibraryA of WINMM upon ANIMATE_Create and a FreeLibrary upon
ANIMATE_Destroy.
parent
2fb8f9b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
animate.c
dlls/comctl32/animate.c
+5
-0
No files found.
dlls/comctl32/animate.c
View file @
3699ef77
...
...
@@ -29,6 +29,8 @@ DEFAULT_DEBUG_CHANNEL(animate)
#define ANIMATE_GetInfoPtr(hWnd) ((ANIMATE_INFO *)GetWindowLongA(hWnd, 0))
HMODULE
hModWinmm
;
static
void
ANIMATE_Notify
(
ANIMATE_INFO
*
infoPtr
,
UINT
notif
)
{
SendMessageA
(
GetParent
(
infoPtr
->
hWnd
),
WM_COMMAND
,
...
...
@@ -577,6 +579,8 @@ static LRESULT ANIMATE_Create(HWND hWnd, WPARAM wParam, LPARAM lParam)
SetWindowLongA
(
hWnd
,
0
,
(
DWORD
)
infoPtr
);
infoPtr
->
hWnd
=
hWnd
;
hModWinmm
=
LoadLibraryA
(
"WINMM"
);
InitializeCriticalSection
(
&
infoPtr
->
cs
);
return
0
;
...
...
@@ -594,6 +598,7 @@ static LRESULT ANIMATE_Destroy(HWND hWnd, WPARAM wParam, LPARAM lParam)
/* free animate info data */
COMCTL32_Free
(
infoPtr
);
FreeLibrary
(
hModWinmm
);
return
0
;
}
...
...
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