projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
398f34f
)
[lib/rtl]
author
Michael Martin
<michael.martin@reactos.org>
Sun, 28 Feb 2010 00:53:59 +0000
(
00:53
+0000)
committer
Michael Martin
<michael.martin@reactos.org>
Sun, 28 Feb 2010 00:53:59 +0000
(
00:53
+0000)
- Replace commented out try block with SEH2. Patch by Samuel Serapion.
svn path=/trunk/; revision=45717
reactos/lib/rtl/actctx.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/actctx.c
b/reactos/lib/rtl/actctx.c
index
4508876
..
f853641
100644
(file)
--- a/
reactos/lib/rtl/actctx.c
+++ b/
reactos/lib/rtl/actctx.c
@@
-551,14
+551,15
@@
static ACTIVATION_CONTEXT *check_actctx( HANDLE h )
ACTIVATION_CONTEXT *ret = NULL, *actctx = h;
if (!h || h == INVALID_HANDLE_VALUE) return NULL;
-
//_
_TRY
+
_SEH2
_TRY
{
if (actctx && actctx->magic == ACTCTX_MAGIC) ret = actctx;
}
- //__EXCEPT_PAGE_FAULT
+ _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
+ DPRINT1("Invalid activation context handle!\n");
}
- //__ENDTRY
+ _SEH2_END;
return ret;
}