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.

88 lines
3.7 KiB

  1. /* File: install.h */
  2. /**************************************************************************/
  3. /* Install: Install Component Public Include File
  4. /**************************************************************************/
  5. #ifndef __install_
  6. #define __install_
  7. typedef BOOL (APIENTRY *PFNSF)(SZ, SZ);
  8. // Function pointer for {Backup|Remove}SectionFiles
  9. typedef BOOL (APIENTRY *PFNSKF)(SZ, SZ, SZ);
  10. // Function pointer for {Backup|Remove}SectionKeyFile
  11. typedef BOOL (APIENTRY *PFNSNF)(SZ, UINT, SZ);
  12. // Function pointer for {Backup|Remove}SectionNthFile
  13. typedef BOOL (APIENTRY *PFND)(SZ, BYTE);
  14. extern BOOL APIENTRY FInstallEntryPoint(HANDLE, HWND, RGSZ, UINT);
  15. extern BOOL APIENTRY FPromptForDisk(HANDLE, SZ, SZ);
  16. extern BOOL APIENTRY FFileFound(SZ);
  17. extern BOOL APIENTRY FCopy(SZ, SZ, OEF, OWM, BOOL, int, USHORT, PSDLE, SZ);
  18. extern BOOL APIENTRY FDiskReady(SZ, DID);
  19. /* REVIEW these should be in a private H file */
  20. extern BOOL APIENTRY FGetArgSz(INT Line,UINT *NumFields,SZ *ArgReturn);
  21. extern BOOL APIENTRY FGetArgUINT(INT, UINT *, UINT *);
  22. extern BOOL APIENTRY FParseSectionFiles(INT, UINT *, PFNSF);
  23. extern BOOL APIENTRY FParseSectionKeyFile(INT, UINT *, PFNSKF);
  24. extern BOOL APIENTRY FParseSectionNFile(INT, UINT *, PFNSNF);
  25. extern BOOL APIENTRY FParseCopySection(INT, UINT *);
  26. extern BOOL APIENTRY FParseCopySectionKey(INT, UINT *);
  27. extern BOOL APIENTRY FParseCopyNthSection(INT, UINT *);
  28. extern BOOL APIENTRY FParseDirectory(INT, UINT *, PFND);
  29. extern BOOL APIENTRY FParseCreateIniSection(INT, UINT *, SZ, SZ);
  30. extern BOOL APIENTRY FParseReplaceIniSection(INT, UINT *, SZ, SZ);
  31. extern BOOL APIENTRY FParseRemoveIniSection(INT, UINT *, SZ, SZ);
  32. extern BOOL APIENTRY FParseCreateIniKeyValue(INT, UINT *, SZ, SZ);
  33. extern BOOL APIENTRY FParseCreateIniKeyNoValue(INT, UINT *, SZ, SZ);
  34. extern BOOL APIENTRY FParseReplaceIniKeyValue(INT, UINT *, SZ, SZ);
  35. extern BOOL APIENTRY FParseAppendIniKeyValue(INT, UINT *, SZ, SZ);
  36. extern BOOL APIENTRY FParseRemoveIniKey(INT, UINT *, SZ, SZ);
  37. extern BOOL APIENTRY FParseIniSection(INT, UINT *, SPC);
  38. extern BOOL APIENTRY FParseSetEnv(INT, UINT *);
  39. #ifdef UNUSED
  40. extern BOOL APIENTRY FParseAddMsgToSystemHelpFile(INT, UINT *);
  41. extern BOOL APIENTRY FParseStampFile(INT, UINT *);
  42. extern BOOL APIENTRY FUndoActions(void);
  43. #endif /* UNUSED */
  44. extern BOOL APIENTRY FParseStampResource(INT, UINT *);
  45. extern BOOL APIENTRY FInitParsingTables(void);
  46. extern BOOL APIENTRY FParseInstallSection(HANDLE hInstance, SZ szSection);
  47. extern BOOL APIENTRY FDdeTerminate(void);
  48. extern LONG APIENTRY WndProcDde(HWND, UINT, WPARAM, LONG);
  49. extern BOOL APIENTRY FDdeInit(HANDLE);
  50. extern VOID APIENTRY DdeSendConnect(ATOM, ATOM);
  51. extern BOOL APIENTRY FDdeConnect(SZ, SZ);
  52. extern BOOL APIENTRY FDdeWait(void);
  53. extern BOOL APIENTRY FDdeExec(SZ);
  54. extern BOOL APIENTRY FActivateProgMan(void);
  55. #ifdef UNUSED
  56. extern INT APIENTRY EncryptCDData(UCHAR *, UCHAR *, UCHAR *, INT, INT, INT, UCHAR *);
  57. #endif /* UNUSED */
  58. extern BOOL APIENTRY FParseCloseSystem(INT, UINT *);
  59. extern BOOL APIENTRY FParseCreateSysIniKeyValue(INT, UINT *, SZ, SZ);
  60. extern BOOL APIENTRY FParseSearchDirList(INT, UINT *);
  61. extern BOOL APIENTRY FParseSetupDOSAppsList(INT, UINT *);
  62. extern BOOL APIENTRY FParseRunExternalProgram(INT, UINT *);
  63. extern BOOL APIENTRY FStrToDate(SZ, PUSHORT, PUSHORT, PUSHORT);
  64. extern BOOL APIENTRY FParseAddDos5Help(INT, USHORT *);
  65. extern USHORT APIENTRY DateFromSz(SZ);
  66. extern BOOL APIENTRY FConvertAndStoreRglInSymTab(PLONG_STF, SZ, INT);
  67. extern BOOL APIENTRY FSearchDirList( SZ, SZ, BOOL, BOOL, SZ, SZ, SZ, SZ );
  68. extern BOOL APIENTRY FInstallDOSPifs( SZ, SZ, SZ, SZ, SZ, SZ );
  69. #define INSTALL_OUTCOME "STF_INSTALL_OUTCOME"
  70. #define SUCCESS "STF_SUCCESS"
  71. #define FAILURE "STF_FAILURE"
  72. #define USERQUIT "STF_USERQUIT"
  73. #endif