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
911af4dc
Commit
911af4dc
authored
Jul 18, 2006
by
Benjamin Arai
Committed by
Alexandre Julliard
Jul 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Update error codes for VarMod.
parent
a307901a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vartest.c
dlls/oleaut32/tests/vartest.c
+2
-2
variant.c
dlls/oleaut32/variant.c
+2
-2
No files found.
dlls/oleaut32/tests/vartest.c
View file @
911af4dc
...
...
@@ -2456,7 +2456,7 @@ static void test_VarMod(void)
hexpected
=
DISP_E_TYPEMISMATCH
;
}
else
if
((
l
==
VT_NULL
)
&&
(
r
==
VT_DECIMAL
))
{
hexpected
=
DISP_E_OVERFLOW
;
hexpected
=
E_INVALIDARG
;
}
else
if
((
l
==
VT_UNKNOWN
)
||
((
r
==
VT_UNKNOWN
)
&&
lFound
&&
lValid
))
{
hexpected
=
DISP_E_TYPEMISMATCH
;
...
...
@@ -2465,7 +2465,7 @@ static void test_VarMod(void)
hexpected
=
S_OK
;
}
else
if
((
l
==
VT_DECIMAL
)
||
((
r
==
VT_DECIMAL
)
&&
lFound
&&
lValid
))
{
hexpected
=
DISP_E_OVERFLOW
;
hexpected
=
E_INVALIDARG
;
}
else
if
(
l
==
VT_RECORD
)
{
hexpected
=
DISP_E_TYPEMISMATCH
;
...
...
dlls/oleaut32/variant.c
View file @
911af4dc
...
...
@@ -4600,7 +4600,7 @@ HRESULT WINAPI VarMod(LPVARIANT left, LPVARIANT right, LPVARIANT result)
return
DISP_E_TYPEMISMATCH
;
case
VT_DECIMAL
:
V_VT
(
result
)
=
VT_EMPTY
;
return
DISP_E_OVERFLOW
;
return
E_INVALIDARG
;
case
VT_ERROR
:
return
DISP_E_TYPEMISMATCH
;
case
VT_RECORD
:
...
...
@@ -4685,7 +4685,7 @@ HRESULT WINAPI VarMod(LPVARIANT left, LPVARIANT right, LPVARIANT result)
}
else
{
V_VT
(
result
)
=
VT_EMPTY
;
return
DISP_E_OVERFLOW
;
return
E_INVALIDARG
;
}
case
VT_ERROR
:
return
DISP_E_TYPEMISMATCH
;
...
...
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