extern "C" CMDAPIIMPORT APIRET CMDGetAlias ( char * CMDBYREF var, const char * name ) ;
This function queries the value of the alias named by the string pointed to by the name parameter. On success it returns zero and returns the value of the variable via the parameter var. On failure it returns a non-zero system error code.