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.

108 lines
4.0 KiB

  1. #ifndef _speedwmi_h_
  2. #define _speedwmi_h_
  3. // SpeedPortFifoProp - SPX_SPEED_WMI_FIFO_PROP
  4. // Specialix Speed Port FIFO Properties
  5. #define SPX_SPEED_WMI_FIFO_PROP_GUID \
  6. { 0xd81fe0a1,0x2cac,0x11d4, { 0x8d,0x09,0x00,0x08,0xc7,0xd0,0x30,0x66 } }
  7. #if ! (defined(MIDL_PASS))
  8. DEFINE_GUID(SpeedPortFifoProp_GUID, \
  9. 0xd81fe0a1,0x2cac,0x11d4,0x8d,0x09,0x00,0x08,0xc7,0xd0,0x30,0x66);
  10. #endif
  11. typedef struct _SPX_SPEED_WMI_FIFO_PROP
  12. {
  13. // Max Tx FIFO Size
  14. ULONG MaxTxFiFoSize;
  15. #define SPX_SPEED_WMI_FIFO_PROP_MaxTxFiFoSize_SIZE sizeof(ULONG)
  16. #define SPX_SPEED_WMI_FIFO_PROP_MaxTxFiFoSize_ID 1
  17. // Max Rx FIFO Size
  18. ULONG MaxRxFiFoSize;
  19. #define SPX_SPEED_WMI_FIFO_PROP_MaxRxFiFoSize_SIZE sizeof(ULONG)
  20. #define SPX_SPEED_WMI_FIFO_PROP_MaxRxFiFoSize_ID 2
  21. // Default Tx FIFO Limit
  22. ULONG DefaultTxFiFoLimit;
  23. #define SPX_SPEED_WMI_FIFO_PROP_DefaultTxFiFoLimit_SIZE sizeof(ULONG)
  24. #define SPX_SPEED_WMI_FIFO_PROP_DefaultTxFiFoLimit_ID 3
  25. // Tx FIFO Limit
  26. ULONG TxFiFoLimit;
  27. #define SPX_SPEED_WMI_FIFO_PROP_TxFiFoLimit_SIZE sizeof(ULONG)
  28. #define SPX_SPEED_WMI_FIFO_PROP_TxFiFoLimit_ID 4
  29. // Default Tx FIFO Trigger
  30. ULONG DefaultTxFiFoTrigger;
  31. #define SPX_SPEED_WMI_FIFO_PROP_DefaultTxFiFoTrigger_SIZE sizeof(ULONG)
  32. #define SPX_SPEED_WMI_FIFO_PROP_DefaultTxFiFoTrigger_ID 5
  33. // Tx FIFO Trigger
  34. ULONG TxFiFoTrigger;
  35. #define SPX_SPEED_WMI_FIFO_PROP_TxFiFoTrigger_SIZE sizeof(ULONG)
  36. #define SPX_SPEED_WMI_FIFO_PROP_TxFiFoTrigger_ID 6
  37. // Default Rx FIFO Trigger
  38. ULONG DefaultRxFiFoTrigger;
  39. #define SPX_SPEED_WMI_FIFO_PROP_DefaultRxFiFoTrigger_SIZE sizeof(ULONG)
  40. #define SPX_SPEED_WMI_FIFO_PROP_DefaultRxFiFoTrigger_ID 7
  41. // Rx FIFO Trigger
  42. ULONG RxFiFoTrigger;
  43. #define SPX_SPEED_WMI_FIFO_PROP_RxFiFoTrigger_SIZE sizeof(ULONG)
  44. #define SPX_SPEED_WMI_FIFO_PROP_RxFiFoTrigger_ID 8
  45. // Default Low Flow Control Threshold
  46. ULONG DefaultLoFlowCtrlThreshold;
  47. #define SPX_SPEED_WMI_FIFO_PROP_DefaultLoFlowCtrlThreshold_SIZE sizeof(ULONG)
  48. #define SPX_SPEED_WMI_FIFO_PROP_DefaultLoFlowCtrlThreshold_ID 9
  49. // Low Flow Control Threshold
  50. ULONG LoFlowCtrlThreshold;
  51. #define SPX_SPEED_WMI_FIFO_PROP_LoFlowCtrlThreshold_SIZE sizeof(ULONG)
  52. #define SPX_SPEED_WMI_FIFO_PROP_LoFlowCtrlThreshold_ID 10
  53. // Default High Flow Control Threshold
  54. ULONG DefaultHiFlowCtrlThreshold;
  55. #define SPX_SPEED_WMI_FIFO_PROP_DefaultHiFlowCtrlThreshold_SIZE sizeof(ULONG)
  56. #define SPX_SPEED_WMI_FIFO_PROP_DefaultHiFlowCtrlThreshold_ID 11
  57. // High Flow Control Threshold
  58. ULONG HiFlowCtrlThreshold;
  59. #define SPX_SPEED_WMI_FIFO_PROP_HiFlowCtrlThreshold_SIZE sizeof(ULONG)
  60. #define SPX_SPEED_WMI_FIFO_PROP_HiFlowCtrlThreshold_ID 12
  61. } SPX_SPEED_WMI_FIFO_PROP, *PSPX_SPEED_WMI_FIFO_PROP;
  62. #define SPX_SPEED_WMI_FIFO_PROP_SIZE (FIELD_OFFSET(SPX_SPEED_WMI_FIFO_PROP, HiFlowCtrlThreshold) + SPX_SPEED_WMI_FIFO_PROP_HiFlowCtrlThreshold_SIZE)
  63. // FastCardProp - SPX_SPEED_WMI_FAST_CARD_PROP
  64. // Specialix Fast Card Properties
  65. #define SPX_SPEED_WMI_FAST_CARD_PROP_GUID \
  66. { 0xb2df36f1,0x570b,0x11d4, { 0x8d,0x11,0x00,0x08,0xc7,0xd0,0x30,0x66 } }
  67. #if ! (defined(MIDL_PASS))
  68. DEFINE_GUID(FastCardProp_GUID, \
  69. 0xb2df36f1,0x570b,0x11d4,0x8d,0x11,0x00,0x08,0xc7,0xd0,0x30,0x66);
  70. #endif
  71. typedef struct _SPX_SPEED_WMI_FAST_CARD_PROP
  72. {
  73. // Delay Card Interrupt
  74. BOOLEAN DelayCardIntrrupt;
  75. #define SPX_SPEED_WMI_FAST_CARD_PROP_DelayCardIntrrupt_SIZE sizeof(BOOLEAN)
  76. #define SPX_SPEED_WMI_FAST_CARD_PROP_DelayCardIntrrupt_ID 1
  77. // Swap RTS For DTR
  78. BOOLEAN SwapRTSForDTR;
  79. #define SPX_SPEED_WMI_FAST_CARD_PROP_SwapRTSForDTR_SIZE sizeof(BOOLEAN)
  80. #define SPX_SPEED_WMI_FAST_CARD_PROP_SwapRTSForDTR_ID 2
  81. } SPX_SPEED_WMI_FAST_CARD_PROP, *PSPX_SPEED_WMI_FAST_CARD_PROP;
  82. #define SPX_SPEED_WMI_FAST_CARD_PROP_SIZE (FIELD_OFFSET(SPX_SPEED_WMI_FAST_CARD_PROP, SwapRTSForDTR) + SPX_SPEED_WMI_FAST_CARD_PROP_SwapRTSForDTR_SIZE)
  83. #endif