# APRNTSCRN
> [HTML Version](aprntscrn_sbx.htm)
_Written January 2024_
**xcall APRNTSCRN \{, hwndmain, hwnddlg, prgname, progver\}**
APRNTSCRN.SBX is a screen capture routine specifically targeted at A-Shell applications, designed to facilitate both tech support and documentation. By default it is linked into the File menu, but can be called explicitly like any other external (SBX) subroutine.
**Parameters**
_hwndmain_ ([Num](num.htm.md)) \[in\]
Optional main window handle. Omit or 0 to default. Interacts with the user interface option to use the main window as the source for the capture.
_hwnddlg_ ([Num](num.htm.md)) \[in\]
Optional main dialog handle. Omit or 0 to default. Interacts with the user interface option to use the main dialog as the source for the capture.
_prgname_ ([String](string.htm.md)) \[in\]
Optional name of the current program. Omit or "" to default. Gets added to the email or file output, intended as clarification for tech support.
_prgver_ ([String](string.htm.md)) \[in\]
Optional current program version. Omit or "" to default. Gets added to the email or file output as with _prgname_.
**See Also**
• [Print Screen](printscreen.htm.md) for example of its user interface and details on its external configuration options