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.

78 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. dynupdt.h
  5. Abstract:
  6. Dynamic Update support for text setup. Portions moved from i386\win31upg.c
  7. Author:
  8. Ovidiu Temereanca (ovidiut) 20-Aug-2000
  9. Revision History:
  10. --*/
  11. #pragma once
  12. //
  13. // Globals
  14. //
  15. extern HANDLE g_UpdatesCabHandle;
  16. extern PVOID g_UpdatesSifHandle;
  17. extern HANDLE g_UniprocCabHandle;
  18. extern PVOID g_UniprocSifHandle;
  19. //
  20. // Dynamic update boot driver path in NT namespace
  21. //
  22. extern PWSTR DynUpdtBootDriverPath;
  23. //
  24. // Prototypes
  25. //
  26. BOOLEAN
  27. SpInitAlternateSource (
  28. VOID
  29. );
  30. VOID
  31. SpUninitAlternateSource (
  32. VOID
  33. );
  34. BOOLEAN
  35. SpInitializeUpdatesCab (
  36. IN PWSTR UpdatesCab,
  37. IN PWSTR UpdatesSifSection,
  38. IN PWSTR UniprocCab,
  39. IN PWSTR UniprocSifSection
  40. );
  41. PWSTR
  42. SpNtPathFromDosPath (
  43. IN PWSTR DosPath
  44. );
  45. PDISK_REGION
  46. SpPathComponentToRegion(
  47. IN PWSTR PathComponent
  48. );
  49. PWSTR
  50. SpGetDynamicUpdateBootDriverPath(
  51. IN PWSTR NtBootPath,
  52. IN PWSTR NtBootDir,
  53. IN PVOID InfHandle
  54. );