home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / SAMPLES / INSTVER / INSTVER.H_ / INSTVER.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.2 KB  |  29 lines

  1. /**************************************************************************
  2.  *
  3.  * InstVer.h - SDK Version-checking installer include file
  4.  *
  5.  * Copyright (C) Microsoft, 1991
  6.  * February 25, 1991
  7.  *
  8.  **************************************************************************/
  9.  
  10. /** Error returns from DLL/.EXE */
  11. #define ERR_BADSRCDIR           -1    /* invalid library (source) pathname */
  12. #define ERR_BADWINDIR           -2    /* invalid windows directory */
  13. #define ERR_BADARGS           -3    /* incorrect arguments (DOS .EXE only) */
  14. #define ERR_CREATINGFILE       -4    /* error creating destination file */
  15. #define ERR_CANNOTREADSRC      -5    /* error opening/reading source file  */
  16. #define ERR_OUTOFSPACE           -6    /* out of disk space copying file */
  17. #define ERR_BADDATFILE           -7    /* invalid DAT file */
  18. #define ERR_CANTOPENDATFILE    -8    /* can't open DAT file for reading */
  19. #define ERR_NOMEM           -9    /* out of memory for local buffers */
  20. #define ERR_READINGDATFILE     -10   /* error in reading DAT file*/
  21. #define ERR_RENAME           -11   /* error renaming destination file */
  22.  
  23.  
  24. /* library installer function */
  25.  
  26. BOOL FAR PASCAL InstallVersionFiles (LPSTR lpszLibPath,
  27.                      LPSTR lpszWindowsPath,
  28.                      LPSTR lpszDatFile);
  29.