# ScanRouter function

Starts the processing of specified device.

Note This function will return only when the device processing will be finished.

## Syntax

Delphi
C++

    function ScanRouter(
      hRouter: THandle
    ): Bool; stdcall;

    BOOL WINAPI ScanRouter(
      _In_  HANDLE hRouter
    );

## Parameters

hRouter [in]

  A valid handle to the Router object. It can be obtained with PrepareRouter function.

## Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.