home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 14.ddi / GENINC.PAK / WINMEM32.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  1.5 KB  |  48 lines

  1. /*****************************************************************************\
  2. *                                                                             *
  3. * winmem32.h -  Function prototypes and general defines                       *
  4. *                                                                             *
  5. \*****************************************************************************/
  6.  
  7. /*
  8.  *      C/C++ Run Time Library - Version 6.0
  9.  *
  10.  *      Copyright (c) 1992, 1993 by Borland International
  11.  *      All Rights Reserved.
  12.  *
  13.  */
  14.  
  15. #ifndef __WINMEM32_H    /* prevent multiple includes */
  16. #define __WINMEM32_H
  17.  
  18. #ifndef __WINDOWS_H
  19. #include <windows.h>    /* <windows.h> must be included */
  20. #endif  /* __WINDOWS_H */
  21.  
  22. /*
  23.  *
  24.  * The functions
  25.  *
  26.  */
  27. WORD    FAR PASCAL GetWinMem32Version(void);
  28. WORD    FAR PASCAL Global32Alloc(DWORD, LPWORD, DWORD, WORD);
  29. WORD    FAR PASCAL Global32Realloc(WORD, DWORD, WORD);
  30. WORD    FAR PASCAL Global32Free(WORD, WORD);
  31. WORD    FAR PASCAL Global16PointerAlloc(WORD, DWORD, LPDWORD, DWORD, WORD);
  32. WORD    FAR PASCAL Global16PointerFree(WORD, DWORD, WORD);
  33. WORD    FAR PASCAL Global32CodeAlias(WORD, LPWORD, WORD);
  34. WORD    FAR PASCAL Global32CodeAliasFree(WORD, WORD, WORD);
  35.  
  36. /*
  37.  *
  38.  * Error Codes
  39.  *
  40.  */
  41. #define WM32_Invalid_Func       0001
  42. #define WM32_Invalid_Flags      0002
  43. #define WM32_Invalid_Arg        0003
  44. #define WM32_Insufficient_Sels  0004
  45. #define WM32_Insufficient_Mem   0005
  46.  
  47. #endif  /* __WINMEM32_H */
  48.