aciObjectCreate
Call the aciObjectCreate function to create an ACI object.
Syntax
aciError aciObjectCreate ( t_aciObject** ppObject, aciObjectType nType);
Arguments
| Arguments | Type/Description |
|---|---|
ppObject
|
t_aciObject** On return, the ACI object you created. |
nType
|
|
Discussion
This function creates and allocates memory for an ACI object of type nType. Typically, you do not create ACI_DATA type objects; call the aciObjectExecute function instead. For information about the aciObjectExecute function, see aciObjectExecute.
Examples
aciObjectCreate(&pCommand, ACI_COMMAND); aciObjectCreate(&pConnection, ACI_CONNECTION); aciObjectCreate(&pResponse, ACI_DATA);