> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ConvertLCIDToLanguageId Method of the Engine Object

This method converts the Win32 standard LCID into the Win32 standard LANGID, represented by [LanguageIdEnum](/fine-reader/engine/api-reference/enumerations/languageidenum).

## Syntax

### C++

```cpp theme={null}
HRESULT ConvertLCIDToLanguageId(
  int             Win32Locale,
  LanguageIdEnum* Result
);
```

### C\#

```csharp theme={null}
LanguageIdEnum ConvertLCIDToLanguageId( int Win32Locale );
```

### Visual Basic .NET

```vb theme={null}
Function ConvertLCIDToLanguageId(Win32Locale As int) As LanguageIdEnum
```

## Parameters

Win32Locale

\[in] This variable contains a Win32 standard LCID cast to the int type.

Result

\[out, retval] A pointer to [LanguageIdEnum](/fine-reader/engine/api-reference/enumerations/languageidenum) variable that receives the return value of this method. Must not be NULL.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## Remarks

This method may return LI\_Null if the passed Win32 LCID is not supported by ABBYY FineReader Engine.

## See also

[Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface)

[IEngine::ConvertLanguageIdToLCID](/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/convertlanguageidtolcid-method)
