Home Texas Home

SetParameter

Sets environmental and security parameters for the script to run in, this give the calling code the ability to script known script with low securities or unknown script in a tighter security model.
unsigned int SetParameter(
   Parameter parameter,
   __int64 integer = 0,
   const char16_t *string = NULL
);

Parameters

parameter Identifer of the parameter.
integer Integer value.
string Constant string value.

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

Example Use

CTScript script();
script.SetParameter(CTScript::WORK_PATH_WRITE,TEXT("D:\\temporary"));

Also See

GetParameter

Copyright © 2007-2009, Ekky Software Pty Ltd.