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.

91 lines
2.4 KiB

  1. /***********************************************************
  2. *
  3. * Copyright (c) 2000 Specilaix International Ltd.
  4. *
  5. * Specialix Speed WMI MOF classes.
  6. *
  7. ***********************************************************/
  8. [abstract]
  9. class SPXSpeed
  10. {
  11. };
  12. [WMI, Dynamic, Provider ("WMIProv"),
  13. guid("{D81FE0A1-2CAC-11d4-8D09-0008C7D03066}"),
  14. GuidName1("SPX_SPEED_WMI_FIFO_PROP_GUID"),
  15. HeaderName("SPX_SPEED_WMI_FIFO_PROP"),
  16. locale("MS\\0x409"),
  17. Description("Specialix Speed Port FIFO Properties")
  18. ]
  19. class SpeedPortFifoProp : SPXSpeed
  20. {
  21. boolean Active;
  22. [key, read]
  23. string InstanceName;
  24. [WmiDataId(1), Description("Max Tx FIFO Size"), read]
  25. uint32 MaxTxFiFoSize;
  26. [WmiDataId(2), Description("Max Rx FIFO Size"), read]
  27. uint32 MaxRxFiFoSize;
  28. [WmiDataId(3), Description("Default Tx FIFO Limit"), read]
  29. uint32 DefaultTxFiFoLimit;
  30. [WmiDataId(4), Description("Tx FIFO Limit"), read, write]
  31. uint32 TxFiFoLimit;
  32. [WmiDataId(5), Description("Default Tx FIFO Trigger"), read]
  33. uint32 DefaultTxFiFoTrigger;
  34. [WmiDataId(6), Description("Tx FIFO Trigger"), read, write]
  35. uint32 TxFiFoTrigger;
  36. [WmiDataId(7), Description("Default Rx FIFO Trigger"), read]
  37. uint32 DefaultRxFiFoTrigger;
  38. [WmiDataId(8), Description("Rx FIFO Trigger"), read, write]
  39. uint32 RxFiFoTrigger;
  40. [WmiDataId(9), Description("Default Low Flow Control Threshold"), read]
  41. uint32 DefaultLoFlowCtrlThreshold;
  42. [WmiDataId(10), Description("Low Flow Control Threshold"), read, write]
  43. uint32 LoFlowCtrlThreshold;
  44. [WmiDataId(11), Description("Default High Flow Control Threshold"), read]
  45. uint32 DefaultHiFlowCtrlThreshold;
  46. [WmiDataId(12), Description("High Flow Control Threshold"), read, write]
  47. uint32 HiFlowCtrlThreshold;
  48. };
  49. [WMI, Dynamic, Provider ("WMIProv"),
  50. guid("{B2DF36F1-570B-11d4-8D11-0008C7D03066}"),
  51. GuidName1("SPX_SPEED_WMI_FAST_CARD_PROP_GUID"),
  52. HeaderName("SPX_SPEED_WMI_FAST_CARD_PROP"),
  53. locale("MS\\0x409"),
  54. Description("Specialix Fast Card Properties")
  55. ]
  56. class FastCardProp : SPXSpeed
  57. {
  58. boolean Active;
  59. [key, read]
  60. string InstanceName;
  61. [WmiDataId(1), Description("Delay Card Interrupt"), read, write]
  62. boolean DelayCardIntrrupt;
  63. [WmiDataId(2), Description("Swap RTS For DTR"), read, write]
  64. boolean SwapRTSForDTR;
  65. };