## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### Creating a new SCA

Creating a new SCA, accomplished by GreOpenScreenChangeArea (SCRAREA.C), requires the following steps:

Allocate memory for the new SCA instance

Set the cRects field to be zero

Set the pStartSca global variable to point to the new SCA address

Link the instance to the linked list of SCAs

The newly created SCA will be identified by a 32-bit handle, which is the address of the SCA location in the display driver.