home *** CD-ROM | disk | FTP | other *** search
/ POINT Software Programming / PPROG1.ISO / pascal / visionix / vtypes2u.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1993-12-12  |  4.4 KB  |  191 lines

  1. {
  2. ════════════════════════════════════════════════════════════════════════════
  3.  
  4.  Visionix OS/2 General Type Definitions Unit (VTypes2u)
  5.  Copyright 1991,92,93 Visionix
  6.  ALL RIGHTS RESERVED
  7.  
  8. ────────────────────────────────────────────────────────────────────────────
  9.  
  10.  Revision history in reverse chronological order:
  11.  
  12.  Initials  Date      Comment
  13.  --------  --------  -------------------------------------------------------
  14.  
  15.  jrt       12/12/93  First logged revision.
  16.  
  17. ────────────────────────────────────────────────────────────────────────────
  18. }
  19.  
  20.  
  21. Unit VTypes2u;
  22.  
  23. Interface
  24.  
  25. {────────────────────────────────────────────────────────────────────────────}
  26.  
  27.  
  28. Type
  29.  
  30.   {----------------}
  31.   { standard types }
  32.   {----------------}
  33.  
  34.   TBOOL         = WORD;
  35.   TINT          = INTEGER;
  36.   TLONG         = LONGINT;
  37.   TNPBYTE       = WORD;
  38.   TNPCH         = WORD;
  39.   TNPFN         = WORD;
  40.   TNPSZ         = WORD;
  41.  
  42.   TSel          = WORD;
  43.  
  44.   TShort        = INTEGER;
  45.  
  46.   TUChar        = BYTE;
  47.   TUInt         = WORD;
  48.   TULOng        = LONGINT;
  49.   TUShort       = WORD;
  50.  
  51.  
  52.  
  53.   {----------------------------}
  54.   { pointers to standard types }
  55.   {----------------------------}
  56.  
  57.   PBool         = ^TBool;
  58.   PInt          = ^TInt;
  59.   PLong         = ^TLong;
  60.   PNPByte       = ^TNPByte;
  61.   PNPCh         = ^TNPCh;
  62.   PNPFN         = ^TNPFN;
  63.   PNPSZ         = ^TNPSZ;
  64.  
  65.   PCH           = PCHAR;
  66.  
  67.   PFN           = POINTER;
  68.   PFNSigHandler = POINTER;
  69.  
  70.   PSEL          = ^WORD;
  71.  
  72.   PSHort        = ^TShort;
  73.   PSZ           = PCHAR;
  74.  
  75.   PUChar        = ^TUChar;
  76.   PUInt         = ^TUInt;
  77.   PULong        = ^TULong;
  78.   PUShort       = ^TUShort;
  79.  
  80.   PVoid         = POINTER;
  81.  
  82.   PByte         = ^BYTE;
  83.  
  84.   {---------------}
  85.   { OS/2 OS types }
  86.   {---------------}
  87.  
  88.   TAtom         = WORD;
  89.   TColor        = LONGINT;
  90.   TFFDescs      = POINTER;
  91.   TErrorID      = LONGINT;
  92.   TFixed        = LONGINT;
  93.   THAB          = LONGINT;
  94.   THAccel       = LONGINT;
  95.   THAtomTbl     = LONGINT;
  96.   THBitMap      = LONGINT;
  97.   THDC          = LONGINT;
  98.   THDir         = WORD;
  99.   THEnum        = LONGINT;
  100.   THFile        = WORD;
  101.   THHeap        = LONGINT;
  102.   THKbd         = WORD;
  103.   THMF          = LONGINT;
  104.   THModule      = WORD;
  105.   THMonitor     = WORD;
  106.   THMou         = WORD;
  107.   THMQ          = LONGINT;
  108.   THPipe        = WORD;
  109.   THPointer     = LONGINT;
  110.   TProgCategory = BYTE;
  111.   THProgram     = LONGINT;
  112.   THPS          = LONGINT;
  113.   THQueue       = WORD;
  114.   THRGN         = LONGINT;
  115.   THSem         = LONGINT;
  116.   THSwitch      = LONGINT;
  117.   THSysSem      = LONGINT;
  118.   THTimer       = WORD;
  119.   THVIO         = WORD;
  120.   THVPS         = WORD;
  121.   THWND         = LONGINT;
  122.   TMParam       = LONGINT;
  123.   TMResult      = LONGINT;
  124.   TPID          = WORD;
  125.   TTID          = WORD;
  126.  
  127.   {---------------------------}
  128.   { Pointers to OS/2 OS types }
  129.   {---------------------------}
  130.  
  131.   PAtom         = ^TAtom;
  132.   PColor        = ^TColor;
  133.   PFFDescs      = ^TFFDescs;
  134.   PErrorID      = ^TErrorID;
  135.   PFixed        = ^TFixed;
  136.   PHAB          = ^THAB;
  137.   PHAccel       = ^THAccel;
  138.   PHAtomTbl     = ^THAtomTbl;
  139.   PHBitMap      = ^THBitMap;
  140.   PHDC          = ^THDC;
  141.   PHDir         = ^THDir;
  142.   PHEnum        = ^THEnum;
  143.   PHFile        = ^THFile;
  144.   PHHeap        = ^THHeap;
  145.   PHKbd         = ^THKbd;
  146.   PHMF          = ^THMF;
  147.   PHModule      = ^THModule;
  148.   PHMonitor     = ^THMonitor;
  149.   PHMou         = ^THMou;
  150.   PHMQ          = ^THMQ;
  151.   PHPipe        = ^THPipe;
  152.   PHPointer     = ^THPointer;
  153.   PHProgram     = ^THProgram;
  154.   PHPS          = ^THPS;
  155.   PHQueue       = ^THQueue;
  156.   PHRGN         = ^THRGN;
  157.   PHSem         = ^THSem;
  158.   PHSwitch      = ^THSwitch;
  159.   PHSysSem      = ^THSysSem;
  160.   PHTimer       = ^THTimer;
  161.   PHVIO         = ^THVIO;
  162.   PHVPS         = ^THVPS;
  163.   PHWND         = ^THWND;
  164.   PMParam       = ^TMParam;
  165.   PMResult      = ^TMResult;
  166.   PPID          = ^TPID;
  167.   PTID          = ^TTID;
  168.  
  169.  
  170.  
  171.   TStr8         = Array[0..7 ] of CHAR;
  172.   TStr16        = Array[0..15] of CHAR;
  173.   TStr32        = Array[0..31] of CHAR;
  174.   TStr64        = Array[0..63] of CHAR;
  175.  
  176.   PStr8         = ^TStr8;
  177.   PStr16        = ^TStr16;
  178.   PStr32        = ^TStr32;
  179.   PStr64        = ^TStr64;
  180.  
  181.  
  182. {────────────────────────────────────────────────────────────────────────────}
  183. {────────────────────────────────────────────────────────────────────────────}
  184. {────────────────────────────────────────────────────────────────────────────}
  185.  
  186. Implementation
  187.  
  188.  
  189. BEGIN
  190.  
  191. END.