| Contents > CFML Reference > ColdFusion C++ CFX Reference > CCFXRequest class > CCFXRequest::SetCustomData |
|
|
|
|
||
void CCFXRequest::SetCustomData(LPVOID lpvData)
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.
Parameter |
Description |
|---|---|
lpvData |
Pointer to custom data |
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 ...
}
|
|
||
| Contents > CFML Reference > ColdFusion C++ CFX Reference > CCFXRequest class > CCFXRequest::SetCustomData |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.