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
edab5d85
Commit
edab5d85
authored
Jul 10, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Ignore version flags in GetDispID.
parent
3e5c76bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
run.c
dlls/vbscript/tests/run.c
+5
-0
vbdisp.c
dlls/vbscript/vbdisp.c
+4
-0
No files found.
dlls/vbscript/tests/run.c
View file @
edab5d85
...
...
@@ -333,6 +333,11 @@ static void test_disp(IDispatch *disp)
ok
(
id
==
-
1
,
"id = %d
\n
"
,
id
);
SysFreeString
(
str
);
str
=
a2bstr
(
"publicProp"
);
hres
=
IDispatchEx_GetDispID
(
dispex
,
str
,
0x80000000
|
fdexNameCaseInsensitive
,
&
public_prop_id
);
SysFreeString
(
str
);
ok
(
hres
==
S_OK
,
"GetDispID(publicProp) failed: %08x
\n
"
,
hres
);
IDispatchEx_Release
(
dispex
);
}
...
...
dlls/vbscript/vbdisp.c
View file @
edab5d85
...
...
@@ -24,6 +24,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
vbscript
);
#define FDEX_VERSION_MASK 0xf0000000
static
inline
BOOL
is_func_id
(
vbdisp_t
*
This
,
DISPID
id
)
{
return
id
<
This
->
desc
->
func_cnt
;
...
...
@@ -326,6 +328,8 @@ static HRESULT WINAPI DispatchEx_GetDispID(IDispatchEx *iface, BSTR bstrName, DW
TRACE
(
"(%p)->(%s %x %p)
\n
"
,
This
,
debugstr_w
(
bstrName
),
grfdex
,
pid
);
grfdex
&=
~
FDEX_VERSION_MASK
;
if
(
!
This
->
desc
)
return
E_UNEXPECTED
;
...
...
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