| ELZED | Documentation | The Details | API |
| lzDestroyPublicContextThe lzDestroyPublicContext function destroys the named public context. bool lzDestroyPublicContext( | const char* szContextName | | // name of the target context |
);
ParametersszContextName | | The name of the public context to be destroyed. If the named context exists, its resources will be destroyed and the context will no longer be available. All threads with the named context in effect will have their contexts cleared via lzClearContext. The primary context will be in effect for those threads unless replaced through a call to lzSetContext.
If the named public context does not exist, this function has no effect. |
Return Value | Returns TRUE if the named public context is destroyed, FALSE if not. |
Remarks | The primary context (named "Elzed") cannot be destroyed.
Once a public context is destroyed, its name is available for re-use. |
Versions | Introduced in Elzed 1.1.0 Modified in Elzed 2.4.0 -- Context name parameter (char*) is now declared const. | | This page describes the version of lzDestroyPublicContext active in Elzed 2.5.0 (191: 2.5.0) |
See Also |
| |