aciObjectParamSetBool

Call the aciObjectParamSetBool function to set the contents of a Boolean parameter.

Syntax

aciError aciObjectParamSetBool (
   t_aciObject* pObject, 
   char* szName, 
   BOOL bValue)

Arguments

Arguments Type/Description
pObject t_aciObject*  A pointer to an ACI_DATA object that contains an XML result.
szName char*  A pointer to the parameter name.
bValue

BOOL  One of the following values:

  • TRUE
  • FALSE

Discussion

This function adds the szName Boolean parameter with the specified bValue to the pObject.

Returns

An ACI error code.

Examples

aciObjectParamSetBool(pCommand,ACI_COM_USE_POST,TRUE);
aciObjectParamSetBool(pConnection, ACI_CONN_ENCRYPTION, TRUE);