Ignore:
Timestamp:
Jun 19, 1999, 3:57:51 PM (26 years ago)
Author:
sandervl
Message:

Changes for Win32 TIB allocation (not activated)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/os2newapi.h

    r119 r123  
    1 /* $Id: os2newapi.h,v 1.1 1999-06-19 10:53:36 sandervl Exp $ */
     1/* $Id: os2newapi.h,v 1.2 1999-06-19 13:57:50 sandervl Exp $ */
    22/*
    33 *
     
    2020#endif
    2121
     22#ifdef INCL_DOSSEL
     23/* Segment attribute flags (used with DosAllocSeg) */
     24
     25#define SEG_NONSHARED       0x0000
     26#define SEG_GIVEABLE        0x0001
     27#define SEG_GETTABLE        0x0002
     28#define SEG_DISCARDABLE     0x0004
     29
     30#define DosAllocSeg     Dos16AllocSeg
     31#define DosFreeSeg      Dos16FreeSeg
     32#define DosGetSeg       Dos16GetSeg
     33#define DosGiveSeg      Dos16GiveSeg
     34#define DosReallocSeg   Dos16ReallocSeg
     35#define DosSizeSeg      Dos16SizeSeg
     36
     37USHORT APIENTRY16 DosAllocSeg(USHORT cbSize, PSEL pSel, USHORT fsAlloc);
     38USHORT APIENTRY16 DosFreeSeg(SEL sel);
     39USHORT APIENTRY16 DosGetSeg(SEL sel);
     40USHORT APIENTRY16 DosGiveSeg(SEL sel, PID pid, PSEL pSelRecipient);
     41USHORT APIENTRY16 DosReallocSeg(USHORT cbNewSize, SEL sel);
     42USHORT APIENTRY16 DosSizeSeg(SEL sel, PULONG pcbSize);
     43
     44#define DosSelToFlat Dos32SelToFlat
     45ULONG _Optlink DosSelToFlat(ULONG seladdr);
     46
     47#define DosFlatToSel Dos32FlatToSel
     48ULONG _Optlink DosFlatToSel(ULONG lin);
     49
     50#endif
     51
    2252#endif //__OS2SEL_H__
Note: See TracChangeset for help on using the changeset viewer.