Skip to content

Latest commit

 

History

History
93 lines (67 loc) · 3.35 KB

nf-elscore-mappingfreepropertybag.md

File metadata and controls

93 lines (67 loc) · 3.35 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:elscore.MappingFreePropertyBag
MappingFreePropertyBag function (elscore.h)
Frees memory and resources allocated during an ELS text recognition operation.
MappingFreePropertyBag
MappingFreePropertyBag function [Internationalization for Windows Applications]
elscore/MappingFreePropertyBag
intl.mappingfreepropertybag
intl\mappingfreepropertybag.htm
Intl
7e06e85d-109a-4c5f-be18-3750e25c4986
12/05/2018
MappingFreePropertyBag, MappingFreePropertyBag function [Internationalization for Windows Applications], elscore/MappingFreePropertyBag, intl.mappingfreepropertybag
elscore.h
Windows
Windows 7 [desktop apps \| UWP apps]
Windows Server 2008 R2 [desktop apps \| UWP apps]
Elscore.lib
Elscore.dll
Windows
19H1
MappingFreePropertyBag
elscore/MappingFreePropertyBag
c++
APIRef
kbSyntax
DllExport
Elscore.dll
ext-ms-win-els-elscore-l1-1-0.dll
MappingFreePropertyBag

MappingFreePropertyBag function

-description

Frees memory and resources allocated during an ELS text recognition operation.

-parameters

-param pBag [in]

Pointer to a MAPPING_PROPERTY_BAG structure containing the properties for which to free resources. This parameter cannot be set to NULL.

-returns

Returns S_OK if successful. The function returns an error HRESULT value if it does not succeed.

-remarks

An ELS service allocates memory and resources for data retrieved from application calls to MappingRecognizeText. The MappingFreePropertyBag function releases these resources.

Caution  Services should not be freed before freeing the property bags produced by those services.
 
Caution  The application must call this function only once for each call to MappingRecognizeText when the property bag is no longer needed. Not calling MappingFreePropertyBag after each call to MappingRecognizeText causes a resource leak. For more information about memory allocation for the property bag, see the remarks for the MAPPING_PROPERTY_BAG structure.
 

-see-also

Extended Linguistic Services

Extended Linguistic Services Functions

MAPPING_PROPERTY_BAG

MappingRecognizeText

Requesting Text Recognition