VOID
MiSetImageProtect(
  IN  PSEGMENT Segment,
  IN  ULONG Protection
  );

Routine Description:

    This function sets the protection of all prototype PTEs to the specified
    protection.

Arguments:

     Segment - Supplies a pointer to the segment to protect.

     Protection - Supplies the protection value to set.

Return Value:

     None.