The tagDLLRULESTRUCT structure is used to pass information to the DLLRuleLinePhase() function. The structure contains information about the current line and zone on a form during verification and allows the DLL to return current status of a broken rule.
struct tagDLLRULESTRUCT
{
/* not to be modified */
intnDllRuleStructSize;
LPSTRpszFamilyName;
LPSTRpszBatchName;
LPSTRpszTemplateName;
LPSTRpszImageFileName;
intnSequence;
intnTotalImages;
intnTotalZones;
intnTotalLines;
LPSTRpszZoneName;
intnZoneNumber;
intnLineNumber;
RECTrLineRect;
LPSTRpQuesChars;
LPRECTprCharRects;
intnNumQuesChars;
LPSTRpszText;
/* can be modified */
intnRuleStatus;
intnDllMessage;
/* not to be modified */
LPSTRpszImportFileName;
};
typedef struct tagDLLRULESTRUCTDLLRULESTRUCT;
typedef struct tagDLLRULESTRUCT*LPDLLRULESTRUCT;
Italicized member variables can be modified by the DLL. All other member variables of this structure are not to be modified by the DLL.