# GetModuleInfo function

Retrieves information about specified Router Core library module.

## Syntax

Delphi
C++

    function GetModuleInfo(
      Index: DWORD;
      Info: PModuleDesc
    ): Bool; stdcall;

    BOOL WINAPI GetModuleInfo(
      _In_   DWORD Index,
      _Out_  PModuleDesc Info
    );

## Parameters

Index [in]

  Module index, beginning from zero.

Info [out]

  A pointer to the ModuleDesc structure that receives information about specified module.

## Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.