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.

90 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. excppkg.h
  5. Abstract:
  6. Header file for migration of exception packages.
  7. Author:
  8. Andrew Ritz (andrewr) 21-Oct-1999
  9. Revision History:
  10. Andrew Ritz (andrewr) 21-Oct-1999 : Created It.
  11. --*/
  12. typedef struct _SETUP_OS_COMPONENT_DATA {
  13. DWORD SizeOfStruct;
  14. GUID ComponentGuid;
  15. WCHAR FriendlyName[64];
  16. WORD VersionMajor;
  17. WORD VersionMinor;
  18. WORD BuildNumber;
  19. WORD QFENumber;
  20. DWORD Reserved[16];
  21. } SETUP_OS_COMPONENT_DATA, *PSETUP_OS_COMPONENT_DATA;
  22. typedef struct _SETUP_OS_EXCEPTION_DATA {
  23. DWORD SizeOfStruct;
  24. WCHAR ExceptionInfName[MAX_PATH];
  25. WCHAR CatalogFileName[MAX_PATH];
  26. DWORD Reserved[16];
  27. } SETUP_OS_EXCEPTION_DATA, *PSETUP_OS_EXCEPTION_DATA;
  28. BOOL
  29. WINAPI
  30. SetupRegisterOsComponent (
  31. IN const PSETUP_OS_COMPONENT_DATA ComponentData,
  32. IN const PSETUP_OS_EXCEPTION_DATA ExceptionData
  33. );
  34. BOOL
  35. WINAPI
  36. SetupUnRegisterOsComponent (
  37. IN const LPGUID ComponentGuid
  38. );
  39. typedef BOOL
  40. (CALLBACK *PSETUPCOMPONENTCALLBACK) (
  41. IN const PSETUP_OS_COMPONENT_DATA SetupOsComponentData,
  42. IN const PSETUP_OS_EXCEPTION_DATA SetupOsExceptionData,
  43. IN OUT DWORD_PTR Context
  44. );
  45. BOOL
  46. WINAPI
  47. SetupEnumerateRegisteredOsComponents(
  48. IN PSETUPCOMPONENTCALLBACK SetupOsComponentCallback,
  49. IN DWORD_PTR Context
  50. );
  51. BOOL
  52. WINAPI
  53. SetupQueryRegisteredOsComponent(
  54. IN LPGUID ComponentGuid,
  55. OUT PSETUP_OS_COMPONENT_DATA SetupOsComponentData,
  56. OUT PSETUP_OS_EXCEPTION_DATA SetupOsExceptionData
  57. );
  58. BOOL
  59. WINAPI
  60. SetupQueryRegisteredOsComponentsOrder(
  61. OUT PDWORD ComponentCount,
  62. OUT LPGUID ComponentList OPTIONAL
  63. );
  64. BOOL
  65. WINAPI
  66. SetupSetRegisteredOsComponentsOrder(
  67. IN DWORD ComponentCount,
  68. IN const LPGUID ComponentList
  69. );