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.

81 lines
2.0 KiB

  1. /*++
  2. Module Name:
  3. ismig.h
  4. Abstract:
  5. Header file for InstallSheild log file DLL.
  6. Author:
  7. Tyler Robinson 17-Feb-1999
  8. Revision History:
  9. <alias> <date> <comments>
  10. --*/
  11. /*++
  12. Routine Description:
  13. ISUMigrate
  14. Arguments:
  15. ISUFileName - Pointer to a nul-terminated string that specifies the
  16. full path and filename to the ISU file to be migrated. The
  17. file must exist and the ISMIGRATE.DLL must have read/write
  18. access.
  19. SearchMultiSz - Pointer to a nul-separated double-nul terminated string
  20. that specifies the strings to be replaced.
  21. ReplaceMultiSz - Pointer to a nul-terminated string that specifies the
  22. location to be used for temporary manipulation of files.
  23. The location must exist and the ISMIGRATE.DLL must have
  24. read/write access.
  25. Return Value:
  26. Win32 status code
  27. --*/
  28. typedef INT (WINAPI ISUMIGRATE)(
  29. PCSTR ISUFileName, // pointer to ISU full filename
  30. PCSTR SearchMultiSz, // pointer to strings to find
  31. PCSTR ReplaceMultiSz, // pointer to strings to replace
  32. PCSTR TempDir // pointer to the path of the temp dir
  33. );
  34. typedef ISUMIGRATE * PISUMIGRATE;
  35. /*++
  36. Routine Description:
  37. This function can be used to find all the strings in an .ISU file
  38. Arguments:
  39. ISUFileName - Specifies nul-terminated string that specifies the full path
  40. and filename to the ISU file from which the strings are to be
  41. read. The file must exist and the ISMIGRATE.DLL must have
  42. read/write access.
  43. Return Value:
  44. If the function succeeds the return value is a HGLOBAL which contain all the
  45. strings in the .ISU file. The strings are nul-separated and double-nul
  46. terminated. It is the responsibility of the caller to free this HGLOBAL.
  47. --*/
  48. typedef HGLOBAL (WINAPI ISUGETALLSTRINGS)(PCSTR ISUFileName);
  49. typedef ISUGETALLSTRINGS * PISUGETALLSTRINGS;