Parameter
|
Type
|
Description
|
IN
|
||
pMemTree
|
XM_Tree *
|
The memory tree to use for temporary storage.
|
hValExpList
|
DAM_HVALEXP_LIST
|
The list of arguments as passed into the scalar function.
|
hValExp
|
DAM_HVALEXP
|
The argument for which you want to retrieve the data.
|
iXoType
|
int
|
The data type in which to get the value. It can be XO_TYPE_CHAR,XO_TYPE_WCHAR, the data type used to define the argument, or any data type to which conversion is supported.
|
OUT
|
||
ppVal
|
void **
|
The pointer to the data is returned in this location. The C type of the data corresponds to the iXoType value. See Table 33. Use this pointer only if the *piValLen is not set to XO_NULL_DATA. Do not attempt to free this data.
|
piValLen
|
int *
|
Length of the data pointed to by *ppVal:
![]() ![]() ![]() |
phVal
|
DAM_HVAL
|
Handle to the temporary value node that is created for returning the data in iXoType format. Call dam_freeVal to free the value node once the data returned in ppVal is used.
|
RETURN
|
||
int
|
Status of the function call:
![]() ![]() ![]() |