Leaked source code of windows server 2003
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.

96 lines
1.9 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. VOID
  45. DuInstallUpdatesInfFinal (
  46. VOID
  47. );
  48. BOOL
  49. DuInstallEndGuiSetupDrivers (
  50. VOID
  51. );
  52. BOOL
  53. DuInstallDuAsms (
  54. VOID
  55. );
  56. VOID
  57. DuCleanup (
  58. VOID
  59. );
  60. UINT
  61. DuSetupPromptForDisk (
  62. HWND hwndParent, // parent window of the dialog box
  63. PCTSTR DialogTitle, // optional, title of the dialog box
  64. PCTSTR DiskName, // optional, name of disk to insert
  65. PCTSTR PathToSource, // optional, expected source path
  66. PCTSTR FileSought, // name of file needed
  67. PCTSTR TagFile, // optional, source media tag file
  68. DWORD DiskPromptStyle, // specifies dialog box behavior
  69. PTSTR PathBuffer, // receives the source location
  70. DWORD PathBufferSize, // size of the supplied buffer
  71. PDWORD PathRequiredSize // optional, buffer size needed
  72. );