StopRouter function

Tells the router processor to cancel processing of specified device.

Note  This function actually doesn't stop router processor. If you need to abort processing immediately, use KillRouter function.

Syntax

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

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.