INtime SDK Help
DeleteRtEnvironmentVariable
INtime SDK v7 > About INtime > INtime Kernel > Environment variables > DeleteRtEnvironmentVariable

Delete an environment variable.

BOOLEAN 
DeleteRtEnvironmentVariable(
    LPCSTR szName);

Parameters

szName
A pointer to the name of the environment variable to delete.

Return value

Returns TRUE on success. Returns FALSE on failure. Call GetLastRtError() to find the failure status. Possible status values include:
E_CONTEXT
The variable name is null.
E_EXIST
The variable name does not exist.

Requirements

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rtbase.h rt.h rt.lib

See Also