# GetModuleCount function

Retrieves Router Core library module count.

## Syntax

Delphi
C++

    function GetModuleCount(
      var Count: DWORD
    ): Bool; stdcall;

    BOOL WINAPI GetModuleCount(
      _Out_  DWORD *Count
    );

## Parameters

Count [out]

  Module count.

## Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.