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.

69 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. DockIntf.h
  5. Abstract:
  6. This header defines the Dock Interface
  7. Author:
  8. Adrian J. Oney
  9. Environment:
  10. kernel mode only
  11. Notes:
  12. Revision History:
  13. Adrian J. Oney 21-May-1999 Created
  14. --*/
  15. DEFINE_GUID(GUID_DOCK_INTERFACE,
  16. 0xa9956ff5L, 0x13da, 0x11d3,
  17. 0x97, 0xdb, 0x00, 0xa0, 0xc9, 0x40, 0x52, 0x2e );
  18. #ifndef _DOCKINTF_H_
  19. #define _DOCKINTF_H_
  20. //
  21. // The interface returned consists of the following structure and functions.
  22. //
  23. #define DOCK_INTRF_STANDARD_VER 1
  24. typedef enum {
  25. PDS_UPDATE_DEFAULT = 1,
  26. PDS_UPDATE_ON_REMOVE,
  27. PDS_UPDATE_ON_INTERFACE,
  28. PDS_UPDATE_ON_EJECT
  29. } PROFILE_DEPARTURE_STYLE;
  30. typedef ULONG (* PFN_PROFILE_DEPARTURE_SET_MODE)(
  31. IN PVOID Context,
  32. IN PROFILE_DEPARTURE_STYLE Style
  33. );
  34. typedef ULONG (* PFN_PROFILE_DEPARTURE_UPDATE)(
  35. IN PVOID Context
  36. );
  37. typedef struct {
  38. struct _INTERFACE; // Unnamed struct
  39. PFN_PROFILE_DEPARTURE_SET_MODE ProfileDepartureSetMode;
  40. PFN_PROFILE_DEPARTURE_UPDATE ProfileDepartureUpdate;
  41. } DOCK_INTERFACE, *PDOCK_INTERFACE;
  42. #endif // _DOCKINTF_H_