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.

83 lines
1.6 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. PpProfile.h
  5. Abstract:
  6. This header contains prototypes for managing hardware profiles and
  7. docking stations.
  8. Author:
  9. Adrian J. Oney (AdriaO) 07/19/2000
  10. Revision History:
  11. --*/
  12. typedef enum _HARDWARE_PROFILE_BUS_TYPE {
  13. HardwareProfileBusTypeACPI
  14. } HARDWARE_PROFILE_BUS_TYPE, *PHARDWARE_PROFILE_BUS_TYPE;
  15. VOID
  16. PpProfileInit(
  17. VOID
  18. );
  19. VOID
  20. PpProfileBeginHardwareProfileTransition(
  21. IN BOOLEAN SubsumeExistingDeparture
  22. );
  23. VOID
  24. PpProfileIncludeInHardwareProfileTransition(
  25. IN PDEVICE_NODE DeviceNode,
  26. IN PROFILE_STATUS ChangeInPresence
  27. );
  28. NTSTATUS
  29. PpProfileQueryHardwareProfileChange(
  30. IN BOOLEAN SubsumeExistingDeparture,
  31. IN PROFILE_NOTIFICATION_TIME NotificationTime,
  32. OUT PPNP_VETO_TYPE VetoType,
  33. OUT PUNICODE_STRING VetoName OPTIONAL
  34. );
  35. VOID
  36. PpProfileCommitTransitioningDock(
  37. IN PDEVICE_NODE DeviceNode,
  38. IN PROFILE_STATUS ChangeInPresence
  39. );
  40. VOID
  41. PpProfileCancelTransitioningDock(
  42. IN PDEVICE_NODE DeviceNode,
  43. IN PROFILE_STATUS ChangeInPresence
  44. );
  45. VOID
  46. PpProfileCancelHardwareProfileTransition(
  47. VOID
  48. );
  49. VOID
  50. PpProfileMarkAllTransitioningDocksEjected(
  51. VOID
  52. );
  53. PDEVICE_OBJECT
  54. PpProfileRetrievePreferredDockToEject(
  55. VOID
  56. );
  57. VOID
  58. PpProfileProcessDockDeviceCapability(
  59. IN PDEVICE_NODE DeviceNode,
  60. IN PDEVICE_CAPABILITIES Capabilities
  61. );