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
efc35078
Commit
efc35078
authored
Feb 10, 2012
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Added support for some keyword support in external DLL support…
winhlp32: Added support for some keyword support in external DLL support (RegisterRoutine parameters).
parent
39598b9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
macro.c
programs/winhlp32/macro.c
+26
-0
No files found.
programs/winhlp32/macro.c
View file @
efc35078
...
@@ -1029,6 +1029,32 @@ int MACRO_Lookup(const char* name, struct lexret* lr)
...
@@ -1029,6 +1029,32 @@ int MACRO_Lookup(const char* name, struct lexret* lr)
return
ret
;
return
ret
;
if
(
MACRO_Loaded
&&
(
ret
=
MACRO_DoLookUp
(
MACRO_Loaded
,
name
,
lr
,
MACRO_NumLoaded
))
!=
EMPTY
)
if
(
MACRO_Loaded
&&
(
ret
=
MACRO_DoLookUp
(
MACRO_Loaded
,
name
,
lr
,
MACRO_NumLoaded
))
!=
EMPTY
)
return
ret
;
return
ret
;
if
(
!
strcmp
(
name
,
"hwndApp"
))
{
WINHELP_WINDOW
*
win
;
lr
->
integer
=
0
;
for
(
win
=
Globals
.
win_list
;
win
;
win
=
win
->
next
)
{
if
(
!
strcmp
(
win
->
info
->
name
,
"main"
))
{
lr
->
integer
=
(
LONG_PTR
)
win
->
hMainWnd
;
break
;
}
}
return
INTEGER
;
}
if
(
!
strcmp
(
name
,
"hwndContext"
))
{
lr
->
integer
=
Globals
.
active_win
?
(
LONG_PTR
)
Globals
.
active_win
->
hMainWnd
:
0
;
return
INTEGER
;
}
if
(
!
strcmp
(
name
,
"qchPath"
)
||
!
strcmp
(
name
,
"qError"
)
||
!
strcmp
(
name
,
"lTopicNo"
)
||
!
strcmp
(
name
,
"hfs"
)
||
!
strcmp
(
name
,
"coForeground"
)
||
!
strcmp
(
name
,
"coBackground"
))
{
WINE_FIXME
(
"keyword %s not substituted in macro parsing
\n
"
,
name
);
return
EMPTY
;
}
lr
->
string
=
name
;
lr
->
string
=
name
;
return
IDENTIFIER
;
return
IDENTIFIER
;
...
...
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