Window Manager Toolset - WindStartUp
Purpose: Start the Window Manager to be used by an application.
C usage:
#include <Types.h>
#include <Window.h>
#include <Memory.h>
void WindStartUp(Word userID);
Original documentation
Apple IIGS Toolbox Reference, Volume 2, p. 25-32
Apple Programmer’s Workshop <Window.h> and <Memory.h>
Mark Andrews, Programming the Apple IIGS, pp. 292-293
Minimal example
TLStartUp();
Word userID = MMStartUp();
WindStartUp(userId);
Important requirements
- In ORCA/C, this is handled by the call to startDesk().
- userID is provided by the memory manager.
- Start the tool locator before calling the memory manager.
- Call WindShutDown() before your program exits.