BOOLEAN
SepObjectInTypeList(
  IN  GUID *ObjectType,
  IN  PIOBJECT_TYPE_LIST ObjectTypeList,
  IN  ULONG ObjectTypeListLength,
  OUT PULONG ReturnedIndex
  );

Routine Description:

    This routine searches an ObjectTypeList to determine if the specified
    object type is in the list.

Arguments:

    ObjectType - Object Type to search for.

    ObjectTypeList - The object type list to search.

    ObjectTypeListLength - Number of elements in ObjectTypeList

    ReturnedIndex - Index to the element ObjectType was found in


Return Value:

    TRUE: ObjectType was found in list.
    FALSE: ObjectType was not found in list.