PARAMETER
typedef struct tagPARAMETER
{
PARMTYPE uType;
L_UINT32 uLength;
union
{
L_CHAR
L_FAR *pValue;
L_UCHAR
L_FAR *puValue;
L_CHAR cValue;
L_UCHAR ucValue;
L_INT16 sValue;
L_UINT16 usValue;
L_INT32 iValue;
L_UINT32 uiValue;
};
} PARAMETER, L_FAR *pPARAMETER;
The PARAMETER structure is used to contain parameter information sent to the INETCOMMANDCALLBACK, and INETRESPONSECALLBACK functions by the calling function.
Member |
Description |
uType |
Type of variable. This has to be one of the LEADTOOLS defined types. |
uLength |
Length of pValue. |
pValue |
Actual value of parameter (if the type is PARAM_STRING). |
puValue |
Actual value of parameter (if the type is PARAM_USTRING). |
cValue |
Actual value of parameter (if the type is PARAM_CHAR). |
ucValue |
Actual value of parameter (if the type is PARAM_UCHAR). |
sValue |
Actual value of parameter (if the type is PARAM_INT16). |
usValue |
Actual value of parameter (if the type is PARAM_UINT16). |
iValue |
Actual value of parameter (if the type is PARAM_INT32). |
uiValue |
Actual value of parameter (if the type is PARAM_UINT32). |
Comments
For the L_InetSendXXX functions, the parameter information is passed to the callback function in the pParams parameter. For information on the exact location of the parameter information within the pParams array, refer to the appropriate L_InetSendXXX function.
See Also