workbench.library
workbench.library lets a program put an
app icon on the Workbench, make its window an app window that
takes icons dropped on it, or add an item to the Workbench’s Tools
menu; the program then gets a message for each use. A program that
uses these calls opens the library when it starts; on a system without
it, the calls must not be used.
Declared by deflibs library 220.
Calls
| Call | Arguments | Registers | Offset |
|---|---|---|---|
AddAppIconA_ | (id, | d0, d1, a0, a1, a2, a3, a4 | -60 |
AddAppMenuItemA_ | (id, | d0, d1, a0, a1, a2 | -72 |
AddAppWindowA_ | (id, | d0, d1, a0, a1, a2 | -48 |
RemoveAppIcon_ | (appIcon) | a0 | -66 |
RemoveAppMenuItem_ | (appMenuItem) | a0 | -78 |
RemoveAppWindow_ | (appWindow) | a0 | -54 |
WBInfo_ | (lock, | a0, a1, a2 | -90 |