Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_add_custom_scalar

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This function allows the IP to add information about each custom scalar function. Use this function when the SDK calls OAIP_init_scalar to register custom scalar functions for your IP.

int dam_add_custom_scalar(   
XM_Tree * pMemTree,   
DAM_HSCALAR_LIST pList,   
Char * sName)

Parameters for dam_add_custom_scalar

Parameter Type Description
IN
pMemTree XM_Tree * The memory tree on which to allocate memory for the new object.
pList DAM_HSCALAR_LIST The list to which custom scalar function information is added.
sName Char * The name of the custom scalar function.
RETURN
int DAM_SUCCESS - information was successfully added.
DAM_FAILURE - the operation to add information failed.
TitleResults for “How to create a CRG?”Also Available inAlert