FreeRouter function

Closes an open Router object handle.

Note  After calling this function, the specified handle is not valid anymore.

Syntax

function FreeRouter(
  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.