# IsRouterStopping function

Checks the router processor already received a stop message on specified device.

Note To send stop message to the router processor, use StopRouter function.

## Syntax

Delphi
C++

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

    BOOL WINAPI IsRouterStopping(
      _In_  HANDLE hRouter
    );

## Parameters

hRouter [in]

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

## Return value

If the router processor received stop message on specified device, the function returns true.

In the other case it will return false.