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
6f9c840c
Commit
6f9c840c
authored
Oct 29, 2000
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report errors on WinHelp() failures.
parent
c6c53cd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
winhelp.c
windows/winhelp.c
+9
-3
No files found.
windows/winhelp.c
View file @
6f9c840c
...
...
@@ -77,8 +77,14 @@ BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand,
hDest
=
FindWindowA
(
"MS_WINHELP"
,
NULL
);
if
(
!
hDest
)
{
if
(
wCommand
==
HELP_QUIT
)
return
TRUE
;
if
(
WinExec
(
"winhlp32.exe -x"
,
SW_SHOWNORMAL
)
<
32
)
return
FALSE
;
if
(
!
(
hDest
=
FindWindowA
(
"MS_WINHELP"
,
NULL
)
))
return
FALSE
;
if
(
WinExec
(
"winhlp32.exe -x"
,
SW_SHOWNORMAL
)
<
32
)
{
FIXME
(
"cant start winhlp32.exe -x?
\n
"
);
return
FALSE
;
}
if
(
!
(
hDest
=
FindWindowA
(
"MS_WINHELP"
,
NULL
)
))
{
FIXME
(
"did not find MS_WINHELP
\n
"
);
return
FALSE
;
}
}
...
...
@@ -106,7 +112,7 @@ BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand,
dsize
=
((
LPHELPWININFOA
)
dwData
)
->
wStructSize
;
break
;
default:
WARN
(
"Unknown help command %d
\n
"
,
wCommand
);
FIXME
(
"Unknown help command %d
\n
"
,
wCommand
);
return
FALSE
;
}
if
(
lpHelpFile
)
...
...
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