umtypes.inc 857 B

123456789101112131415161718192021222324252627282930
  1. {%MainUnit ndk.pas}
  2. {
  3. Native Development Kit for Native NT
  4. This file is part of the Free Pascal run time library.
  5. This unit contains basic user mode types.
  6. Copyright (c) 2010 by Sven Barth
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. type
  14. //
  15. // Basic Types that aren't defined in User-Mode Headers
  16. //
  17. CINT = LongInt; // Int64 in 64 bit?
  18. PCSZ = PChar;
  19. CLONG = ULONG;
  20. CSHORT = SmallInt;
  21. PCSHORT = ^CSHORT;
  22. PHYSICAL_ADDRESS = LARGE_INTEGER;
  23. PPHYSICAL_ADDRESS = ^PHYSICAL_ADDRESS;
  24. KPRIORITY = LONG;