What I could find:
RULE 135 – DELAY OF GAME/SHOOTING OR THROWING THE PUCK OUT OF PLAY
i. A player who shoots, throws, kicks, or bats the puck directly out of
the playing area from inside his defending zone anywhere in the rink (except where there is no protective glass) during game action, without any deflection, will be assessed a minor penalty. The determining factor will be the position of the puck when it is played.
ii. No penalty will be assessed if a player shoots the puck directly over the boards at the players’ benches but not over the protective glass behind the players’ benches.
iii. No penalty will be assessed if a player shoots the puck directly over the boards at any areas of the rink without protective glass directly above the boards.
iv. A player who deliberately shoots the puck out of play anywhere on the ice during play or after a stoppage will be assessed a minor penalty.
v. A player who lifts the puck from the defending zone and hits the scoreclock or any structural object above the ice surface, causing a stoppage of play, will not be assessed a penalty.
Would seem like a sketchy definition of "above the ice surface" you'd think.