|
External Development Guide: Remote Procedure Calls |
|
int IDL_RPCSetMainVariable( CLIENT *pClient, char *Name, IDL_VPTR pVar)
Use this routine to assign a value to a main level IDL variable in the IDL RPC server session referred to by pClient. If the variable does not already exist, a new variable will be created.
A pointer to the CLIENT structure that corresponds to the desired IDL session.
A pointer to the null-terminated name of the variable, which must be in upper-case.
A pointer to an IDL_VARIABLE structure that contains the value that the IDL RPC main level variable referenced by Name should be set to. For more information on creating this variable, see Client Variables.
This function returns 1 on success, or 0 on failure.
IDL Online Help (March 06, 2007)