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

# FindScanSources Method of the ScanManager Object

<Note>
  This method is implemented in FRE for Windows.
</Note>

This method enables you to receive a list of available scanning sources filtered by user interface type and API type that the scanner provides.

## Syntax

### C++

```cpp theme={null}
HRESULT FindScanSources(
  ScanSourceUITypeEnum  UiType,
  ScanSourceApiTypeEnum ApiType,
  IScanSources**        Result
);
```

### C\#

```csharp theme={null}
IScanSources FindScanSources(
  ScanSourceUITypeEnum  UiType,
  ScanSourceApiTypeEnum ApiType
);
```

### Visual Basic .NET

```vb theme={null}
Function FindScanSources( _
  UiType As ScanSourceUITypeEnum, _
  ApiType As ScanSourceApiTypeEnum _
) As IScanSources
```

## Parameters

UiType

\[in] This variable specifies the type of user interface that must be supported by the scanning source. Its value can be one of the [ScanSourceUITypeEnum](/fine-reader/engine/api-reference/enumerations/scansourceuitypeenum) constants. If you do not wish to filter by type of user interface, pass the [SSUIT\_All](/fine-reader/engine/api-reference/enumerations/scansourceuitypeenum#ssuit_all) or [SSUIT\_None](/fine-reader/engine/api-reference/enumerations/scansourceuitypeenum#ssuit_none) constant.

ApiType

\[in] This variable specifies the API type that must be supported by the scanning source. It is defined as one of the [ScanSourceApiTypeEnum](/fine-reader/engine/api-reference/enumerations/scansourceapitypeenum) constants.

Result

\[out, retval] A pointer to the IScanSources\* pointer variable that receives the interface pointer of the [ScanSources](/fine-reader/engine/api-reference/mechanism-objects/scansources) object.

## Return values

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

## See also

[ScanManager](/fine-reader/engine/api-reference/mechanism-objects/scanmanager)
