MAPPING_DATA_RANGE structure (elscore.h)
Contains text recognition results for a recognized text subrange. An array of structures of this type is retrieved by an Extended Linguistic Services (ELS) service in a MAPPING_PROPERTY_BAG structure.
Syntax
typedef struct _MAPPING_DATA_RANGE {
DWORD dwStartIndex;
DWORD dwEndIndex;
LPWSTR pszDescription;
DWORD dwDescriptionLength;
LPVOID pData;
DWORD dwDataSize;
LPWSTR pszContentType;
LPWSTR *prgActionIds;
DWORD dwActionsCount;
LPWSTR *prgActionDisplayNames;
} MAPPING_DATA_RANGE, *PMAPPING_DATA_RANGE;
Members
dwStartIndex
Index of the beginning of the subrange in the text, where 0 indicates the character at the pointer passed to MappingRecognizeText, instead of an offset to the index passed to the function in the dwIndex parameter. The value should be less than the entire length of the text.
dwEndIndex
Index of the end of the subrange in the text, where 0 indicates the character at the pointer passed to MappingRecognizeText, instead of an offset to the index passed to the function in the dwIndex parameter. The value should be less than the entire length of the text.
pszDescription
Reserved.
dwDescriptionLength
Reserved.
pData
Pointer to data retrieved as service output associated with the subrange. This data must be of the format indicated by the content type supplied in the pszContentType member.
dwDataSize
Size, in bytes, of the data specified in pData. Each service is required to report its output data size in bytes.
pszContentType
Optional. Pointer to a string specifying the MIME content type of the data indicated by pData. Examples of content types are "text/plain", "text/html", and "text/css".
prgActionIds
Available action Ids for this subrange. They are usable for calling MappingDoAction.
dwActionsCount
The number of available actions for this subrange.
prgActionDisplayNames
Action display names for this subrange. These strings can be localized.
Remarks
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | elscore.h |