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.

37 lines
966 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1999.
  5. //
  6. // File: L O C K D O W N . H
  7. //
  8. // Contents: Routines to get and set components that are in a lockdown
  9. // state. A component goes into lockdown when it requires a
  10. // reboot on removal. When a component is locked down, it
  11. // cannot be installed until after the next reboot.
  12. //
  13. // Notes:
  14. //
  15. // Author: shaunco 24 May 1999
  16. //
  17. //----------------------------------------------------------------------------
  18. #pragma once
  19. typedef VOID
  20. (CALLBACK* PFN_ELDC_CALLBACK) (
  21. IN PCWSTR pszInfId,
  22. IN PVOID pvCallerData OPTIONAL);
  23. VOID
  24. EnumLockedDownComponents (
  25. IN PFN_ELDC_CALLBACK pfnCallback,
  26. IN PVOID pvCallerData OPTIONAL);
  27. BOOL
  28. FIsComponentLockedDown (
  29. IN PCWSTR pszInfId);
  30. VOID
  31. LockdownComponentUntilNextReboot (
  32. IN PCWSTR pszInfId);