home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / windiff / compitem.h < prev    next >
Text File  |  1997-10-05  |  2KB  |  43 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. /*
  13.  * COMPITEM.H
  14.  */
  15.  
  16. /* handle to a CompItem */
  17. typedef struct compitem FAR* COMPITEM;
  18.  
  19.  
  20. COMPITEM compitem_new(DIRITEM left, DIRITEM right, LIST list, BOOL fExact);
  21. void compitem_delete(COMPITEM item);
  22. LIST compitem_getcomposite(COMPITEM item);
  23. void compitem_discardsections(COMPITEM item);
  24. LIST compitem_getleftsections(COMPITEM item);
  25. LIST compitem_getrightsections(COMPITEM item);
  26. FILEDATA compitem_getleftfile(COMPITEM item);
  27. FILEDATA compitem_getrightfile(COMPITEM item);
  28. int compitem_getstate(COMPITEM item);
  29. LPSTR compitem_gettext_tag(COMPITEM item);
  30. LPSTR compitem_gettext_result(COMPITEM item);
  31. LPSTR compitem_getfilename(COMPITEM item, int option);
  32. void compitem_freefilename(COMPITEM item, int option, LPSTR filename);
  33.  
  34. /*
  35.  * options for compitem_getfilename, indicating which name is desired
  36.  */
  37. #define CI_LEFT         1       /* name of left file */
  38. #define CI_RIGHT        2       /* name of right file */
  39. #define CI_COMP         3       /* name of composite file */
  40.  
  41.  
  42.  
  43.