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
90fcc09d
Commit
90fcc09d
authored
Feb 28, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Call PostQuitMessage only in hh.exe process.
parent
8cef0863
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
help.c
dlls/hhctrl.ocx/help.c
+2
-1
hhctrl.c
dlls/hhctrl.ocx/hhctrl.c
+3
-0
hhctrl.h
dlls/hhctrl.ocx/hhctrl.h
+1
-0
No files found.
dlls/hhctrl.ocx/help.c
View file @
90fcc09d
...
...
@@ -631,7 +631,8 @@ static LRESULT CALLBACK Help_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
ReleaseHelpViewer
((
HHInfo
*
)
GetWindowLongPtrW
(
hWnd
,
GWLP_USERDATA
));
return
0
;
case
WM_DESTROY
:
PostQuitMessage
(
0
);
if
(
hh_process
)
PostQuitMessage
(
0
);
break
;
default:
...
...
dlls/hhctrl.ocx/hhctrl.c
View file @
90fcc09d
...
...
@@ -26,6 +26,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
htmlhelp
);
HINSTANCE
hhctrl_hinstance
;
BOOL
hh_process
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstance
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
...
...
@@ -144,6 +145,8 @@ int WINAPI doWinMain(HINSTANCE hInstance, LPSTR szCmdLine)
HHInfo
*
info
;
LPWSTR
filename
=
strdupAtoW
(
szCmdLine
);
hh_process
=
TRUE
;
/* FIXME: Check szCmdLine for bad arguments */
info
=
CreateHelpViewer
(
filename
);
hhctrl_free
(
filename
);
...
...
dlls/hhctrl.ocx/hhctrl.h
View file @
90fcc09d
...
...
@@ -142,5 +142,6 @@ static inline LPWSTR strdupAtoW(LPCSTR str)
}
extern
HINSTANCE
hhctrl_hinstance
;
extern
BOOL
hh_process
;
#endif
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