> ## 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.

# GetEngine Method

This method allows you to get a pointer to the [**IEngine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) interface.

## Syntax

```vb Visual Basic .NET theme={null}
Function GetEngine() As Engine
```

```cpp C++ theme={null}
HRESULT GetEngine( IEngine** Result );
```

## Parameters

**Result**

\[out, retval] A pointer to **IEngine**\* pointer variable that receives the interface pointer to the resulting [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.

## Return values

This method has no specific return values. It returns the [standard return values of the ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## Samples

This method is used in all [code samples](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md).

## See also

[**IEngineLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iengineloader.md)

[Different Ways to Load the Engine Object](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/differentwaystoloadengine.md)
