The CS_CONTEXT structure

An Open Server application requires a CS_CONTEXT structure, which defines a particular application “context,” or operating environment. A CS_CONTEXT structure contains localization information, as well as server-wide control information. The first step in any Open Server application program is to call cs_ctx_alloc to allocate a CS_CONTEXT structure.

An application programmer shapes an application’s behavior and attributes by manipulating the contents of the application’s CS_CONTEXT structure. See “Properties” for more information.