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
5d011551
Commit
5d011551
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: Use HtmlHelpA in doWinMain.
parent
90fcc09d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
hhctrl.c
dlls/hhctrl.ocx/hhctrl.c
+1
-8
No files found.
dlls/hhctrl.ocx/hhctrl.c
View file @
5d011551
...
...
@@ -142,18 +142,11 @@ HWND WINAPI HtmlHelpA(HWND caller, LPCSTR filename, UINT command, DWORD data)
int
WINAPI
doWinMain
(
HINSTANCE
hInstance
,
LPSTR
szCmdLine
)
{
MSG
msg
;
HHInfo
*
info
;
LPWSTR
filename
=
strdupAtoW
(
szCmdLine
);
hh_process
=
TRUE
;
/* FIXME: Check szCmdLine for bad arguments */
info
=
CreateHelpViewer
(
filename
);
hhctrl_free
(
filename
);
if
(
!
info
)
return
-
1
;
NavigateToChm
(
info
,
info
->
pCHMInfo
->
szFile
,
info
->
WinType
.
pszFile
);
HtmlHelpA
(
GetDesktopWindow
(),
szCmdLine
,
HH_DISPLAY_TOPIC
,
0
);
while
(
GetMessageW
(
&
msg
,
0
,
0
,
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