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
a05672e5
Commit
a05672e5
authored
Jul 17, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Add an exception handler around code executed on the server side from…
oleaut32: Add an exception handler around code executed on the server side from the typelib marshaler.
parent
aea12b46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
6 deletions
+26
-6
tmarshal.c
dlls/oleaut32/tmarshal.c
+26
-6
No files found.
dlls/oleaut32/tmarshal.c
View file @
a05672e5
...
...
@@ -40,12 +40,14 @@
#include "winnls.h"
#include "winreg.h"
#include "winuser.h"
#include "excpt.h"
#include "ole2.h"
#include "propidl.h"
/* for LPSAFEARRAY_User* functions */
#include "typelib.h"
#include "variant.h"
#include "wine/debug.h"
#include "wine/exception.h"
static
const
WCHAR
IDispatchW
[]
=
{
'I'
,
'D'
,
'i'
,
's'
,
'p'
,
'a'
,
't'
,
'c'
,
'h'
,
0
};
...
...
@@ -1785,12 +1787,30 @@ TMStubImpl_Invoke(
}
args
[
0
]
=
(
DWORD
)
This
->
pUnk
;
res
=
_invoke
(
(
*
((
FARPROC
**
)
args
[
0
]))[
fdesc
->
oVft
/
4
],
fdesc
->
callconv
,
(
xargs
-
args
),
args
);
__TRY
{
res
=
_invoke
(
(
*
((
FARPROC
**
)
args
[
0
]))[
fdesc
->
oVft
/
4
],
fdesc
->
callconv
,
(
xargs
-
args
),
args
);
}
__EXCEPT
(
NULL
)
{
DWORD
dwExceptionCode
=
GetExceptionCode
();
ERR
(
"invoke call failed with exception 0x%08lx (%ld)
\n
"
,
dwExceptionCode
,
dwExceptionCode
);
if
(
FAILED
(
dwExceptionCode
))
hres
=
dwExceptionCode
;
else
hres
=
HRESULT_FROM_WIN32
(
dwExceptionCode
);
}
__ENDTRY
if
(
hres
!=
S_OK
)
return
hres
;
buf
.
curoff
=
0
;
xargs
=
args
+
1
;
...
...
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