home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / apc_inst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  1.4 KB  |  47 lines

  1. //
  2. // APC_SETUP.H
  3. //
  4. // This public header file specifies function prototypes that APCLOAD.EXE will call
  5. // in the ISV application's "INSTALL.DLL", as well as the supported return values.
  6.  
  7.  
  8. //
  9. // Install_Init
  10. //
  11. // @comm    Called before any part of the application is installed
  12. //
  13. typedef enum
  14. {
  15.     codeINSTALL_INIT_CONTINUE  = 0,     // @comm Continue with the installation
  16.     codeINSTALL_INIT_CANCEL             // @comm Immediately cancel the installation
  17. }
  18. codeINSTALL_INIT;
  19.  
  20. codeINSTALL_INIT Install_Init(    BOOL    fFirstCall,        // is this the first time this function is being called?
  21.                                 BOOL    fPreviouslyInstalled );
  22.  
  23. typedef codeINSTALL_INIT (*pfnINSTALL_INIT)( BOOL, BOOL );
  24. const WCHAR wszINSTALL_INIT[]    = L"Install_Init";
  25.  
  26. //
  27. // Install_Exit
  28. //
  29. // @comm    Called after the application is installed
  30. //
  31. typedef enum
  32. {
  33.     codeINSTALL_EXIT_DONE       = 0,    // @comm Exit the installation successfully
  34.     codeINSTALL_EXIT_UNINSTALL          // @comm Uninstall the application before exiting the installation
  35. }
  36. codeINSTALL_EXIT;
  37.  
  38. codeINSTALL_EXIT Install_Exit(    WORD    cFailedDirs,
  39.                                 WORD    cFailedFiles,
  40.                                 WORD    cFailedRegKeys,
  41.                                 WORD    cFailedRegVals,
  42.                                 WORD    cFailedShortcuts );
  43.  
  44. typedef codeINSTALL_EXIT (*pfnINSTALL_EXIT)( WORD, WORD, WORD, WORD, WORD );
  45. const WCHAR wszINSTALL_EXIT[]    = L"Install_Exit";
  46.  
  47.