PARAMETER

typedef struct tagPARAMETER
{
   PARMTYPE uType;
   L_UINT32 uLength;
   union
   {
      L_CHAR *pValue;
      L_UCHAR *puValue;
      L_CHAR cValue;
      L_UCHAR ucValue;
      L_INT16 sValue;
      L_UINT16 usValue;
      L_INT32 iValue;
      L_UINT32 uiValue;
   };
} PARAMETER, *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

Functions:

INETCOMMANDCALLBACK, INETRESPONSECALLBACK, L_InetSendCmd, L_InetSendRsp, L_InetSendLoadCmd, L_InetSendLoadRsp, L_InetSendSaveCmd, L_InetSendSaveRsp, L_InetSendCreateWinCmd, L_InetSendCreateWinRsp, L_InetSendAttachBitmapCmd, L_InetSendAttachBitmapRsp, L_InetSendSizeWinCmd, L_InetSendSizeWinRsp, L_InetSendCloseWinCmd, L_InetSendCloseWinRsp, L_InetSendShowWinCmd, L_InetSendShowWinRsp, L_InetSendSetRectCmd, L_InetSendSetRectRsp, L_InetSendFreeBitmapCmd, L_InetSendFreeBitmapRsp, L_InetSendGetMagGlassDataCmd, L_InetSendGetMagGlassDataRsp