NTSTATUS
CmpGetObjectSecurity(
  IN  HCELL_INDEX Cell,
  IN  PHHIVE Hive,
  OUT PCM_KEY_SECURITY *Security,
  OUT PHCELL_INDEX SecurityCell OPTIONAL
  );

Routine Description:

    This routine maps in the security cell of a registry object.

Arguments:

    Cell - Supplies the cell index of the object.

    Hive - Supplies the hive the object's cell is in.

    Security - Returns a pointer to the security cell of the object.

    SecurityCell - Returns the index of the security cell

Return Value:

    NTSTATUS.