Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
753 B

  1. //
  2. // Copyright (c) 1997-1999 Microsoft Corporation.
  3. //
  4. #define LISTDATAMAX 4
  5. #define NIL ((void *)0)
  6. struct vecdata {
  7. short x, y, atr, dummy;
  8. };
  9. struct VDATA {
  10. struct VDATA *next, *prev;
  11. struct vecdata vd;
  12. };
  13. struct VHEAD {
  14. struct VHEAD *next, *prev;
  15. struct VDATA *headp;
  16. int nPoints;
  17. };
  18. struct VCNTL {
  19. struct VHEAD *rootHead;
  20. struct VHEAD *currentHead;
  21. int nCont;
  22. struct VDATA *cvp;
  23. int mendp;
  24. void *memroot;
  25. void *cmem;
  26. };
  27. int VDInit(void);
  28. void VDTerm(void);
  29. void VDNew(int lsthdl);
  30. int VDClose(int lsthdl);
  31. int VDSetData(int lsthdl,struct vecdata *pnt);
  32. int VDGetHead(int lsthdl,struct VHEAD * *vhd);
  33. int VDGetNCont(int lsthdl);
  34. int VDReverseList(int lsthdl);
  35. int VDCopy(int srcH, int dstH);
  36. /* EOF */