The King is "being kept fully informed of developments" after the shooting, Buckingham Palace says.