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
fe7533df
Commit
fe7533df
authored
Aug 13, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Ignore fdexNameCaseSensitive flag.
parent
1b2525d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
run.c
dlls/vbscript/tests/run.c
+14
-0
vbdisp.c
dlls/vbscript/vbdisp.c
+3
-1
No files found.
dlls/vbscript/tests/run.c
View file @
fe7533df
...
...
@@ -355,6 +355,20 @@ static void test_disp(IDispatch *disp)
SysFreeString
(
str
);
ok
(
hres
==
S_OK
,
"GetDispID(publicProp) failed: %08x
\n
"
,
hres
);
id
=
0xdeadbeef
;
str
=
a2bstr
(
"publicProp"
);
hres
=
IDispatchEx_GetDispID
(
dispex
,
str
,
fdexNameCaseSensitive
,
&
id
);
SysFreeString
(
str
);
ok
(
hres
==
S_OK
,
"GetDispID(publicProp) failed: %08x
\n
"
,
hres
);
ok
(
id
==
public_prop_id
,
"id = %d, expected %d
\n
"
,
id
,
public_prop_id
);
id
=
0xdeadbeef
;
str
=
a2bstr
(
"publicprop"
);
hres
=
IDispatchEx_GetDispID
(
dispex
,
str
,
fdexNameCaseSensitive
,
&
id
);
SysFreeString
(
str
);
ok
(
hres
==
S_OK
,
"GetDispID(publicProp) failed: %08x
\n
"
,
hres
);
ok
(
id
==
public_prop_id
,
"id = %d, expected %d
\n
"
,
id
,
public_prop_id
);
IDispatchEx_Release
(
dispex
);
}
...
...
dlls/vbscript/vbdisp.c
View file @
fe7533df
...
...
@@ -333,7 +333,9 @@ static HRESULT WINAPI DispatchEx_GetDispID(IDispatchEx *iface, BSTR bstrName, DW
if
(
!
This
->
desc
)
return
E_UNEXPECTED
;
if
(
grfdex
&
~
(
fdexNameEnsure
|
fdexNameCaseInsensitive
))
{
/* Tests show that fdexNameCaseSensitive is ignored */
if
(
grfdex
&
~
(
fdexNameEnsure
|
fdexNameCaseInsensitive
|
fdexNameCaseSensitive
))
{
FIXME
(
"unsupported flags %x
\n
"
,
grfdex
);
return
E_NOTIMPL
;
}
...
...
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