# KillRouter function

Stops the processing of specified device immediately.

## Syntax

Delphi
C++

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

    BOOL WINAPI KillRouter(
      _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.