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.

94 lines
3.8 KiB

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