Export (0) Print
Expand All

MappingFreeServices function

Frees memory and resources allocated for the application to interact with one or more ELS services. The memory and resources are allocated in an application call to MappingGetServices.

Syntax


HRESULT MappingFreeServices(
  _In_  PMAPPING_SERVICE_INFO pServiceInfo
);

Parameters

pServiceInfo [in]

Pointer to an array of MAPPING_SERVICE_INFO structures containing service descriptions retrieved by a prior call to MappingGetServices. This parameter cannot be set to NULL.

Return value

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

Remarks

Caution  Services should not be freed before freeing the property bags produced by those services.

Since all services currently run in the application process, the ELS platform does not unload the service DLLs when the services are released. The operating system unloads the DLLs automatically when the application terminates.

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

Library

Elscore.lib

DLL

Elscore.dll

See also

Extended Linguistic Services
Extended Linguistic Services Functions
Enumerating and Freeing Services
MappingGetServices
MAPPING_SERVICE_INFO

 

 

Community Additions

ADD
Show:
© 2014 Microsoft