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.

91 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. dynupdt.h
  5. Abstract:
  6. Prototype of routines to handle dynamic update support during GUI setup phase
  7. Author:
  8. Ovidiu Temereanca (ovidiut) 15-Aug-2000
  9. Revision History:
  10. --*/
  11. BOOL
  12. DuDoesUpdatedFileExistEx (
  13. IN PCTSTR Filename,
  14. OUT PTSTR PathBuffer, OPTIONAL
  15. IN DWORD PathBufferSize
  16. );
  17. #define DuDoesUpdatedFileExist(f) DuDoesUpdatedFileExistEx(f,NULL,0)
  18. PCTSTR
  19. DuGetUpdatesPath (
  20. VOID
  21. );
  22. BOOL
  23. BuildPathToInstallationFileEx (
  24. IN PCTSTR Filename,
  25. OUT PTSTR PathBuffer,
  26. IN DWORD PathBufferSize,
  27. IN BOOL UseDuShare
  28. );
  29. #define BuildPathToInstallationFile(f,p,s) BuildPathToInstallationFileEx(f,p,s,TRUE)
  30. BOOL
  31. DuInitialize (
  32. VOID
  33. );
  34. DWORD
  35. DuInstallCatalogs (
  36. OUT SetupapiVerifyProblem* Problem,
  37. OUT PTSTR ProblemFile,
  38. IN PCTSTR DescriptionForError OPTIONAL
  39. );
  40. DWORD
  41. DuInstallUpdates (
  42. VOID
  43. );
  44. BOOL
  45. DuInstallEndGuiSetupDrivers (
  46. VOID
  47. );
  48. BOOL
  49. DuInstallDuAsms (
  50. VOID
  51. );
  52. VOID
  53. DuCleanup (
  54. VOID
  55. );
  56. UINT
  57. DuSetupPromptForDisk (
  58. HWND hwndParent, // parent window of the dialog box
  59. PCTSTR DialogTitle, // optional, title of the dialog box
  60. PCTSTR DiskName, // optional, name of disk to insert
  61. PCTSTR PathToSource, // optional, expected source path
  62. PCTSTR FileSought, // name of file needed
  63. PCTSTR TagFile, // optional, source media tag file
  64. DWORD DiskPromptStyle, // specifies dialog box behavior
  65. PTSTR PathBuffer, // receives the source location
  66. DWORD PathBufferSize, // size of the supplied buffer
  67. PDWORD PathRequiredSize // optional, buffer size needed
  68. );