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.

42 lines
1.1 KiB

  1. #ifndef _dsmmof_h_
  2. #define _dsmmof_h_
  3. // GENDSM_CONFIGINFO - GENDSM_CONFIGINFO
  4. // GenDSM Configuration Information.
  5. #define GENDSM_CONFIGINFOGuid \
  6. { 0xd6dc1bf0,0x95fa,0x4246, { 0xaf,0xd7,0x40,0xa0,0x30,0x45,0x8f,0x48 } }
  7. DEFINE_GUID(GENDSM_CONFIGINFO_GUID, \
  8. 0xd6dc1bf0,0x95fa,0x4246,0xaf,0xd7,0x40,0xa0,0x30,0x45,0x8f,0x48);
  9. typedef struct _GENDSM_CONFIGINFO
  10. {
  11. // Number of Fail-Over Groups.
  12. ULONG NumberFOGroups;
  13. #define GENDSM_CONFIGINFO_NumberFOGroups_SIZE sizeof(ULONG)
  14. #define GENDSM_CONFIGINFO_NumberFOGroups_ID 1
  15. // Number of Multi-Path Groups
  16. ULONG NumberMPGroups;
  17. #define GENDSM_CONFIGINFO_NumberMPGroups_SIZE sizeof(ULONG)
  18. #define GENDSM_CONFIGINFO_NumberMPGroups_ID 2
  19. // Fail-Over Only
  20. #define DSM_LB_FAILOVER 1
  21. // Static
  22. #define DSM_LB_STATIC 2
  23. // Dynamic Least-Queue
  24. #define DSM_LB_DYN_LEAST_QUEUE 3
  25. // Dynamic Other
  26. #define DSM_LB_DYN_OTHER 4
  27. // Current Load-Balance Policy.
  28. ULONG LoadBalancePolicy;
  29. #define GENDSM_CONFIGINFO_LoadBalancePolicy_SIZE sizeof(ULONG)
  30. #define GENDSM_CONFIGINFO_LoadBalancePolicy_ID 3
  31. } GENDSM_CONFIGINFO, *PGENDSM_CONFIGINFO;
  32. #endif