ScanRouter function

Starts the processing of specified device.

Syntax

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

Parameters

hRouter [in]

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

Async [in]

Enable or disable asynchronous mode. If disabled, the function will return when the device processing will be finished, else it will return immediately.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.