Skip to content

TEntryInformation

Executable entry point information structure.

Declaration

Source position: systemh.inc line 736

type
  TEntryInformation = record
    InitFinalTable: Pointer;
    ThreadvarTablesTable: Pointer;
    ResourceStringTables: Pointer;
    ResStrInitTables: Pointer;
    ResLocation: Pointer;
    PascalMain:  = procedure;
    valgrind_used: Boolean;
    OS: TEntryInformationOS = record
      argc: LongInt;
      argv: PPAnsiChar = ^PAnsiChar;
      envp: PPAnsiChar = ^PAnsiChar;
      stkptr: pointer;
      stklen: SizeUInt = QWord;
      haltproc:  = procedure(e: LongInt); cdecl;
    end;
  end;

Description

TEntryInformation is used to initialize a Free Pascal program or library. Under normal circumstances, there should be no need to use this structure directly: it is used by the system unit and special linking units.