User Guide
CCFXRequest class 1069
CCFXRequest::SetCustomData
Syntax
void CCFXRequest::SetCustomData(LPVOID lpvData)
Description
Sets custom (tag specific) data to carry with the request. Use this function to store request specific
data to pass to procedures within your custom tag implementation.
Parameters
Example
The following example creates a request-specific data structure of hypothetical type
MYTAGDATA and stores a pointer to the structure in the request for future use:
void ProcessTagRequest( CCFXRequest* pRequest )
try
{
MYTAGDATA tagData ;
pRequest->SetCustomData( (LPVOID)&tagData ) ;
... remainder of procedure ...
}
CCFXRequest::SetVariable
Syntax
void CCFXRequest::SetVariable(LPCSTR lpszName, LPCSTR lpszValue)
Description
Sets a variable in the calling template. If the variable name already exists in the template, its value
is replaced. If it does not exist, a variable is created. The values of variables created using
SetVariable can be accessed in the same manner as other template variables (for example,
#MessageSent#).
Parameters
Parameter Description
lpvData Pointer to custom data
Parameter Description
lpszName Name of variable
lpszValue Value of variable