KRASCHE
&
BYRNE
         ELZED  HOME       NEWS       DOCS       DOWNLOADS       LICENSING       SUPPORT       FAQ       ABOUT  US

What's An Elzed?
Features
Licensing
Downloads
Documentation
Elzed News
    ELZED 
 Documentation 
 The Details 
 API 

lzSetContext

The lzSetContext function determines which named Elzed context will be in effect.

bool lzSetContext(
   const char* szContextName   // name of the desired context
);

Parameters

szContextName
   The name of the context to switch to. If the named context already exists, its resources and settings will be in effect. If the named context does not exist, no change is made and the current context remains in effect.

Return Value

   Returns TRUE if the named context is set, FALSE if not.

Remarks

   If you are using only the primary context (named "Elzed"), you are not required to call this function. The primary context is in effect by default.

Versions

   Introduced in Elzed 1.0.0
Modified in Elzed 2.4.0 -- Context name parameter (char*) is now declared const.
   This page describes the version of lzSetContext active in Elzed 2.5.0 (227: 2.5.0)

See Also

   Contexts


  Copyright  ©  MMXXV  by  R R Le Cropane   •   All Rights Reserved   •   Terms of Use   •   Privacy Policy