implemented LsaDelete() (client only)
Modified: trunk/reactos/include/idl/lsa.idl
Modified: trunk/reactos/lib/advapi32/advapi32.def
Modified: trunk/reactos/lib/advapi32/sec/lsa.c
Modified: trunk/reactos/lib/lsasrv/lsarpc.c

Modified: trunk/reactos/include/idl/lsa.idl
--- trunk/reactos/include/idl/lsa.idl	2006-01-15 14:18:43 UTC (rev 20893)
+++ trunk/reactos/include/idl/lsa.idl	2006-01-15 14:34:58 UTC (rev 20894)
@@ -39,4 +39,8 @@
     /* Function 0 */
     NTSTATUS LsarClose(handle_t BindingHandle,
                        [in] LSA_HANDLE ObjectHandle);
+
+    /* Function 1 */
+    NTSTATUS LsarDelete(handle_t BindingHandle,
+                        [in] LSA_HANDLE ObjectHandle);
 }

Modified: trunk/reactos/lib/advapi32/advapi32.def
--- trunk/reactos/lib/advapi32/advapi32.def	2006-01-15 14:18:43 UTC (rev 20893)
+++ trunk/reactos/lib/advapi32/advapi32.def	2006-01-15 14:34:58 UTC (rev 20894)
@@ -351,7 +351,7 @@
 ;LsaCreateSecret@16
 ;LsaCreateTrustedDomain@16
 ;LsaCreateTrustedDomainEx
-;LsaDelete@4
+LsaDelete@4
 ;LsaDeleteTrustedDomain@8
 LsaEnumerateAccountRights@16
 ;LsaEnumerateAccounts@20

Modified: trunk/reactos/lib/advapi32/sec/lsa.c
--- trunk/reactos/lib/advapi32/sec/lsa.c	2006-01-15 14:18:43 UTC (rev 20893)
+++ trunk/reactos/lib/advapi32/sec/lsa.c	2006-01-15 14:34:58 UTC (rev 20894)
@@ -92,7 +92,23 @@
                      (unsigned long)ObjectHandle);
 }
 
+
 /*
+ * @implemented
+ */
+NTSTATUS STDCALL
+LsaDelete(LSA_HANDLE ObjectHandle)
+{
+    DPRINT("LsaDelete(0x%p) called\n", ObjectHandle);
+
+    LSAHandleBind();
+
+    return LsarDelete(LSABindingHandle,
+                      (unsigned long)ObjectHandle);
+}
+
+
+/*
  * @unimplemented
  */
 NTSTATUS

Modified: trunk/reactos/lib/lsasrv/lsarpc.c
--- trunk/reactos/lib/lsasrv/lsarpc.c	2006-01-15 14:18:43 UTC (rev 20893)
+++ trunk/reactos/lib/lsasrv/lsarpc.c	2006-01-15 14:34:58 UTC (rev 20894)
@@ -144,4 +144,13 @@
     return Status;
 }
 
+/* Function 1 */
+unsigned int
+LsarDelete(IN handle_t BindingHandle,
+           IN unsigned long ObjectHandle)
+{
+    DPRINT1("LsarDelete(0x%p) UNIMPLEMENTED!\n", ObjectHandle);
+    return STATUS_ACCESS_DENIED;
+}
+
 /* EOF */