Top  Previous  Next

What is translated > Types > API Integration > DWORD

DWORD is an example for the API integration. DWORD is defined in Winapi,Windows.pas as:


  DWORD = System.Types.DWORD;




and in System.Types.pas it is defined as:


  DWORD = FixedUInt;





Because in both cases the EXTERNALSYM directive is applied, these definitions are ignored and DWORD simply remains DWORD at the translation to C++. Indeed DWORD is defined in the Windows API in minwindef.h as:



typedef unsigned long       DWORD;




It's not necessary to know, that FixedUInt is defined  in System.pas for Windows as


FixedUInt = LongWord;



In the type-map you can see:






This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content