home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / 52capi.zip / VM.API < prev   
Text File  |  1993-08-06  |  1KB  |  74 lines

  1. /***
  2. *
  3. *   Vm.api
  4. *
  5. *   C language definitions for the Clipper VM API
  6. *
  7. *   Copyright (c) 1992-1993, Computer Associates International, Inc.
  8. *   All rights reserved.
  9. *
  10. *   CA-Clipper uses Microsoft C large model calling conventions
  11. *
  12. */
  13.  
  14.  
  15. #ifndef _VM_API
  16.  
  17.  
  18. #ifndef _CLIPDEFS_H
  19. #include "clipdefs.h"
  20. #endif
  21.  
  22.  
  23. /*
  24. *
  25. * Standard
  26. *
  27. */
  28. HANDLE _xvalloc(USHORT size, USHORT flags);
  29. void   _xvfree (HANDLE h);
  30.  
  31. HANDLE _xvrealloc(HANDLE h, USHORT size, USHORT flags);
  32.  
  33. FARP   _xvlock  (HANDLE h);
  34. void   _xvunlock(HANDLE h);
  35.  
  36.  
  37. /*
  38. *
  39. * Wire
  40. *
  41. */
  42. FARP _xvwire  (HANDLE h);
  43. void _xvunwire(HANDLE h);
  44.  
  45.  
  46. /*
  47. *
  48. * State
  49. *
  50. */
  51. USHORT _xvlockcount(HANDLE h);
  52. USHORT _xvsize     (HANDLE h);
  53.  
  54.  
  55. /*
  56. *
  57. * API VM Heap 
  58. *
  59. */
  60. HANDLE _xvheapnew    (USHORT size);
  61. void   _xvheapdestroy(HANDLE h);
  62.  
  63. HANDLE _xvheapresize(HANDLE h, USHORT size);
  64.  
  65. USHORT _xvheapalloc(HANDLE h, USHORT size);
  66. void   _xvheapfree (HANDLE h, USHORT offset);
  67.  
  68. FARP   _xvheaplock  (HANDLE h, USHORT offset);
  69. void   _xvheapunlock(HANDLE h, USHORT offset);
  70.  
  71.  
  72. #define _VM_API
  73. #endif
  74.