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

  1. In ORCA/C, this is handled by the call to startDesk().
  2. userID is provided by the memory manager.
  3. Start the tool locator before calling the memory manager.
  4. Call WindShutDown() before your program exits.