What is the meaning of Headframe?

the structure supporting machinery above the entrance to an underground mineshaft.

Source: wiktionary.org