* Sync up to trunk head (r60691).
[reactos.git] / ntoskrnl / ob / oblife.c
index 636130b..99879b7 100644 (file)
@@ -1236,6 +1236,9 @@ ObCreateObjectType(IN PUNICODE_STRING TypeName,
 
     /* Set the index and the entry into the object type array */
     LocalObjectType->Index = ObpTypeObjectType->TotalNumberOfObjects;
+
+    NT_ASSERT(LocalObjectType->Index != 0);
+
     if (LocalObjectType->Index < 32)
     {
         /* It fits, insert it */
@@ -1269,6 +1272,14 @@ ObCreateObjectType(IN PUNICODE_STRING TypeName,
     return STATUS_INSUFFICIENT_RESOURCES;
 }
 
+VOID
+NTAPI
+ObDeleteCapturedInsertInfo(IN PVOID Object)
+{
+    UNIMPLEMENTED;
+    return;
+}
+
 VOID
 NTAPI
 ObpDeleteObjectType(IN PVOID Object)