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 LInet::CommandCallBackand LInet::ResponseCallBack 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).

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 LInet::SendXXX 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 LInet::SendXXX function.

See Also

Functions:

LInet::CommandCallBack, LInet::ResponseCallBack, LInet::SendCmd, LInet::SendRsp, LInet::SendLoadCmd, LInet::SendLoadRsp, LInet::SendSaveCmd, LInet::SendSaveRsp, LInet::SendCreateWinCmd, LInet::SendCreateWinRsp, LInet::SendAttachBitmapCmd, LInet::SendAttachBitmapRsp, LInet::SendSizeWinCmd, LInet::SendSizeWinRsp, LInet::SendCloseWinCmd, LInet::SendCloseWinRsp, LInet::SendShowWinCmd, LInet::SendShowWinRsp, LInet::SendSetRectCmd, LInet::SendSetRectRsp, LInet::SendFreeBitmapCmd, LInet::SendFreeBitmapRsp