console-tray-icon

Arguments:

This function exists only on the Windows platform.

Returns the handle (an integer) for the icon that is currently
displayed in the system tray for the Allegro CL console window, if the
console window exists and it has a tray icon, and returns nil otherwise. (setf
console-tray-icon) may be called to change the icon displayed
in the tray.

(The console will not exist if the +c command line argument has been
specified, such as in a project's standalone application when the
"Enable Debugging of Runtime Errors" option has been turned off on the
Build tab of the Project Manager dialog. Command
line options are listed in Command line arguments in
startup.htm.)