3.4 WFS_INF_TTU_QUERY_FORM

Description This command is used to retrieve details of the definition of a specified form.

Input Param LPSTR lpszFormName;

lpszFormName
Points to the null-terminated form name on which to retrieve details.

Output Param LPWFSTTUFRMHEADER lpFrmHeader;

typedef struct _wfs_ttu_frm_header
{
LPSTR lpszFormName;
WORD wWidth;
WORD wHeight;
WORD wVersionMajor;
WORD wVersionMinor;
LPSTR lpszFields;
} WFSTTUFRMHEADER, * LPWFSTTUFRMHEADER;

lpszFormName
Specifies the null-terminated name of the form.

wWidth
Specifies the width of the form in columns.

wHeight
Specifies the height of the form in rows.

wVersionMajor
Specifies the major version of the form.

wVersionMinor
Specifies the minor version of the form.

lpszFields
Pointer to a list of null-terminated field names, with the final name terminating with two null characters.

Error Codes The following additional error codes can be generated by this command:

Value Meaning

WFS_ERR_TTU_FORMNOTFOUND The specified form cannot be found.

WFS_ERR_TTU_FORMINVALID The specified form is invalid.

Comments None.