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
17d5e07e
Commit
17d5e07e
authored
Jun 01, 2004
by
Mike Hearn
Committed by
Alexandre Julliard
Jun 01, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display more informative message when HtmlHelp stub is invoked, add
A/W conversion code, remove useless (and wrong) hungarian notation from function prototypes.
parent
f10b3881
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
Makefile.in
dlls/hhctrl.ocx/Makefile.in
+1
-1
hhctrl.c
dlls/hhctrl.ocx/hhctrl.c
+21
-7
No files found.
dlls/hhctrl.ocx/Makefile.in
View file @
17d5e07e
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
hhctrl.ocx
MODULE
=
hhctrl.ocx
IMPORTS
=
shell32
IMPORTS
=
shell32
user32 kernel32
C_SRCS
=
hhctrl.c
C_SRCS
=
hhctrl.c
...
...
dlls/hhctrl.ocx/hhctrl.c
View file @
17d5e07e
...
@@ -23,21 +23,35 @@
...
@@ -23,21 +23,35 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "wingdi.h"
#include "wingdi.h"
#include "winnls.h"
#include "winuser.h"
#include "winuser.h"
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
htmlhelp
);
WINE_DEFAULT_DEBUG_CHANNEL
(
htmlhelp
);
HWND
WINAPI
HtmlHelpA
(
HWND
hwndCaller
,
LPCSTR
pszFile
,
HWND
WINAPI
HtmlHelpW
(
HWND
caller
,
LPCWSTR
filename
,
UINT
command
,
DWORD
data
)
UINT
uCommand
,
DWORD
dwData
)
{
{
FIXME
(
"stub
\n
"
);
FIXME
(
"(%p, %s, %d, %ld): stub
\n
"
,
caller
,
debugstr_w
(
filename
),
command
,
data
);
/* if command is HH_DISPLAY_TOPIC just display an informative message for now */
if
(
command
==
0
)
MessageBoxA
(
NULL
,
"HTML Help functionality is currently unimplemented.
\n\n
"
"Try installing Internet Explorer, or using a native hhctrl.ocx with the Mozilla ActiveX control."
,
"Wine"
,
MB_OK
|
MB_ICONEXCLAMATION
);
return
0
;
return
0
;
}
}
HWND
WINAPI
HtmlHelpW
(
HWND
hwndCaller
,
LPCWSTR
pszFile
,
HWND
WINAPI
HtmlHelpA
(
HWND
caller
,
LPCSTR
filename
,
UINT
command
,
DWORD
data
)
UINT
uCommand
,
DWORD
dwData
)
{
{
FIXME
(
"stub
\n
"
);
WCHAR
*
wfile
=
NULL
;
return
0
;
DWORD
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
filename
,
-
1
,
NULL
,
0
);
HWND
result
;
wfile
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
MultiByteToWideChar
(
CP_ACP
,
0
,
filename
,
-
1
,
wfile
,
len
);
result
=
HtmlHelpW
(
caller
,
wfile
,
command
,
data
);
HeapFree
(
GetProcessHeap
(),
0
,
wfile
);
return
result
;
}
}
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