> ## 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 メソッド

このメソッドは、[**IEngine**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/engine.md) インターフェイスへのポインターを取得します。

## 構文

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

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

## パラメーター

**Result**

\[out, retval] 生成された [**Engine**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/engine.md) オブジェクトへのインターフェースポインターを受け取る **IEngine**\* ポインター変数へのポインター。

## 戻り値

このメソッドに固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## サンプル

このメソッドは、すべての[コード サンプル](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md)で使用されています。

## 関連項目

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

[Engine オブジェクトのさまざまな読み込み方法](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/differentwaystoloadengine.md)
