[CMLIB] Adjust parameter types and annotations. Add diagnostic assertions.
[reactos.git] / sdk / lib / cmlib / cmname.c
index 918cbb2..b123740 100644 (file)
@@ -149,7 +149,7 @@ NTAPI
 CmpFindNameInList(IN PHHIVE Hive,
                   IN PCHILD_LIST ChildList,
                   IN PUNICODE_STRING Name,
-                  OUT PULONG ChildIndex,
+                  OUT PULONG ChildIndex OPTIONAL,
                   OUT PHCELL_INDEX CellIndex)
 {
     PCELL_DATA CellData;