Author: sginsberg
Date: Sat Dec 20 07:48:35 2008
New Revision: 38198
URL:
http://svn.reactos.org/svn/reactos?rev=38198&view=rev
Log:
- Revert 38116 -- the SEH issues should be gone now
Modified:
trunk/reactos/dll/win32/advapi32/sec/lsa.c
Modified: trunk/reactos/dll/win32/advapi32/sec/lsa.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/lsa…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/sec/lsa.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/sec/lsa.c [iso-8859-1] Sat Dec 20 07:48:35 2008
@@ -78,11 +78,10 @@
NTSTATUS WINAPI
LsaClose(LSA_HANDLE ObjectHandle)
{
- //NTSTATUS Status;
+ NTSTATUS Status;
TRACE("LsaClose(0x%p) called\n", ObjectHandle);
-#if 0
_SEH2_TRY
{
Status = LsarClose((PLSAPR_HANDLE)&ObjectHandle);
@@ -94,15 +93,6 @@
_SEH2_END;
return Status;
-#else
-
- /* This is our fake handle, don't go too much long way */
- if (ObjectHandle == (LSA_HANDLE)0xcafe)
- return STATUS_SUCCESS;
-
- return LsarClose((PLSAPR_HANDLE)&ObjectHandle);
-
-#endif
}
@@ -395,13 +385,12 @@
IN ACCESS_MASK DesiredAccess,
IN OUT PLSA_HANDLE PolicyHandle)
{
- //NTSTATUS Status;
+ NTSTATUS Status;
TRACE("LsaOpenPolicy (%s,%p,0x%08x,%p)\n",
SystemName?debugstr_w(SystemName->Buffer):"(null)",
ObjectAttributes, DesiredAccess, PolicyHandle);
-#if 0
_SEH2_TRY
{
*PolicyHandle = NULL;
@@ -420,12 +409,6 @@
TRACE("LsaOpenPolicy() done (Status: 0x%08lx)\n", Status);
return Status;
-#else
-
- if(PolicyHandle) *PolicyHandle = (LSA_HANDLE)0xcafe;
- return STATUS_SUCCESS;
-
-#endif
}