Use a standard micro presentation space for drawing on any type of output device, provided the presentation space is not in retain mode or retain and draw mode.
There are two different functions you can use to access a standard micro presentation space. The following table lists both functions and their considerations.
┌───────────────┬──────────────────────────────┬───────────────┐ │Function Name │Usage │Closing │ │ │ │Function │ ├───────────────┼──────────────────────────────┼───────────────┤ │GpiCreatePS │Accepts an anchor handle, a │GpiDestroyPS │ │ │device-context handle, and a │destroys a │ │ │presentation space size as │presentation │ │ │parameters. Creates both │space and │ │ │normal presentation spaces and│releases all │ │ │micro presentation spaces. │resources owned│ │ │ │by the │ │ │ │presentation │ │ │ │space. │ ├───────────────┼──────────────────────────────┼───────────────┤ │WinGetScreenPS │The presentation space │WinReleasePS │ │ │represents the entire display │ │ │ │screen. Warning: Exercise │ │ │ │caution when using this │ │ │ │function as the graphic output│ │ │ │can overlap individual │ │ │ │windows. │ │ └───────────────┴──────────────────────────────┴───────────────┘