Export (0) Print
Expand All

MAPPING_PROPERTY_BAG structure

Contains the text recognition data properties retrieved by MappingRecognizeText.

Syntax


typedef struct _MAPPING_PROPERTY_BAG {
  size_t              Size;
  PMAPPING_DATA_RANGE prgResultRanges;
  DWORD               dwRangesCount;
  LPVOID              pServiceData;
  DWORD               dwServiceDataSize;
  LPVOID              pCallerData;
  DWORD               dwCallerDataSize;
  LPVOID              pContext;
} MAPPING_PROPERTY_BAG, *PMAPPING_PROPERTY_BAG;

Members

Size

Size of the structure, used to verify the structure version. This value is required.

prgResultRanges

Pointer to an array of MAPPING_DATA_RANGE structures containing all recognized text range results. This member is populated by MappingRecognizeText.

dwRangesCount

Number of items in the array indicated by prgResultRanges. This member is populated by MappingRecognizeText.

pServiceData

Pointer to private service data. The service can document the format of this data so that the application can use it. The service also manages the memory for this data. This member is populated by MappingRecognizeText.

dwServiceDataSize

Size, in bytes, of the private service data specified by pServiceData. The size is set to 0 if there is no private data. This member is populated by MappingRecognizeText.

pCallerData

Pointer to private application data to pass to the service. The application manages the memory for this data.

dwCallerDataSize

Size, in bytes, of the private application data indicated in pCallerData. This member is set to 0 if there is no private data.

pContext

Reserved for internal use.

Remarks

The memory for the property bag structure itself is managed by the application. The ELS platform and its services only manage the data pointers that they store in the property bag.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Elscore.h

See also

Extended Linguistic Services Structures
MappingRecognizeText
MAPPING_DATA_RANGE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft