- Fix epic naming fail (DhcpEnabled -> EnableDHCP
[reactos.git] / rostests / drivers / kmtest / ntos_ob.c
index e053b2d..9f5f71c 100644 (file)
@@ -26,7 +26,7 @@
 #include <ddk/ntifs.h>
 #include "kmtest.h"
 
-//#define NDEBUG
+#define NDEBUG
 #include "debug.h"
 
 #include "ntndk.h"
@@ -324,7 +324,7 @@ ObtCreateObjects()
         "Object insertion should have failed, but got 0x%lX", Status);
     ok(ObBody[0] == ObBody1[1],
         "Object bodies doesn't match, 0x%p != 0x%p", ObBody[0], ObBody1[1]);
-    ok(ObHandle2[0] != NULL, "Bad handle returned 0x%lX", (ULONG)ObHandle2[0]);
+    ok(ObHandle2[0] != NULL, "Bad handle returned 0x%lX", (ULONG_PTR)ObHandle2[0]);
 
     DPRINT1("%d %d %d %d %d %d %d\n", DumpCount, OpenCount, // deletecount+1
         CloseCount, DeleteCount, ParseCount, OkayToCloseCount, QueryNameCount);
@@ -487,8 +487,7 @@ ObtReferenceTests()
 /* PUBLIC FUNCTIONS ***********************************************************/
 
 VOID
-FASTCALL
-NtoskrnlObTest()
+NtoskrnlObTest(HANDLE KeyHandle)
 {
     StartTest();
 
@@ -516,5 +515,5 @@ NtoskrnlObTest()
     ObtClose();
     DPRINT("Cleanup done\n");
 
-    FinishTest("NTOSKRNL Ob Manager");
+    FinishTest(KeyHandle, L"ObMgrTest");
 }