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.

141 lines
6.1 KiB

  1. /*****************************************************************************
  2. *
  3. * UsgTxt.c
  4. *
  5. * Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
  6. *
  7. * Abstract:
  8. *
  9. * PID usages strings for help with debugging.
  10. *
  11. *****************************************************************************/
  12. #include "pidpr.h"
  13. #ifdef DEBUG
  14. void PID_CreateUsgTxt()
  15. {
  16. g_rgUsageTxt[0x01]= TEXT("Physical Interface Device");
  17. g_rgUsageTxt[0x20]= TEXT("Normal");
  18. g_rgUsageTxt[0x21]= TEXT("Set Effect Report");
  19. g_rgUsageTxt[0x22]= TEXT("Effect Block Index");
  20. g_rgUsageTxt[0x23]= TEXT("Parameter Block Offset");
  21. g_rgUsageTxt[0x24]= TEXT("ROM Flag");
  22. g_rgUsageTxt[0x25]= TEXT("Effect Type");
  23. g_rgUsageTxt[0x26]= TEXT("ET Constant Force");
  24. g_rgUsageTxt[0x27]= TEXT("ET Ramp");
  25. g_rgUsageTxt[0x28]= TEXT("ET Custom Force Data");
  26. g_rgUsageTxt[0x30]= TEXT("ET Square");
  27. g_rgUsageTxt[0x31]= TEXT("ET Sine");
  28. g_rgUsageTxt[0x32]= TEXT("ET Triangle");
  29. g_rgUsageTxt[0x33]= TEXT("ET SawTooth Up");
  30. g_rgUsageTxt[0x34]= TEXT("ET SawTooth Down");
  31. g_rgUsageTxt[0x40]= TEXT("ET Spring");
  32. g_rgUsageTxt[0x41]= TEXT("ET Damper");
  33. g_rgUsageTxt[0x42]= TEXT("ET Inertia");
  34. g_rgUsageTxt[0x43]= TEXT("ET Friction");
  35. g_rgUsageTxt[0x50]= TEXT("Duration");
  36. g_rgUsageTxt[0x51]= TEXT("Sample Period");
  37. g_rgUsageTxt[0x52]= TEXT("Gain");
  38. g_rgUsageTxt[0x53]= TEXT("Trigger Button");
  39. g_rgUsageTxt[0x54]= TEXT("Trigger Repeat Interval");
  40. g_rgUsageTxt[0x55]= TEXT("Axes Enable");
  41. g_rgUsageTxt[0x56]= TEXT("Direction Enable");
  42. g_rgUsageTxt[0x57]= TEXT("Direction");
  43. g_rgUsageTxt[0x58]= TEXT("Type Specific Block Offset");
  44. g_rgUsageTxt[0x59]= TEXT("Block Type");
  45. g_rgUsageTxt[0x5A]= TEXT("Set Envelope Report");
  46. g_rgUsageTxt[0x5B]= TEXT("Attack Level");
  47. g_rgUsageTxt[0x5C]= TEXT("Attack Time");
  48. g_rgUsageTxt[0x5D]= TEXT("Fade Level");
  49. g_rgUsageTxt[0x5E]= TEXT("Fade Time");
  50. g_rgUsageTxt[0x5F]= TEXT("Set Condition Report");
  51. g_rgUsageTxt[0x60]= TEXT("CP Offset");
  52. g_rgUsageTxt[0x61]= TEXT("Positive Coefficient");
  53. g_rgUsageTxt[0x62]= TEXT("Negative Coefficient");
  54. g_rgUsageTxt[0x63]= TEXT("Positive Saturation");
  55. g_rgUsageTxt[0x64]= TEXT("Negative Saturation");
  56. g_rgUsageTxt[0x65]= TEXT("Dead Band");
  57. g_rgUsageTxt[0x66]= TEXT("Download Force Sample");
  58. g_rgUsageTxt[0x67]= TEXT("Isoch Custom Force Enable");
  59. g_rgUsageTxt[0x68]= TEXT("Custom Force Data Report");
  60. g_rgUsageTxt[0x69]= TEXT("Custom Force Data");
  61. g_rgUsageTxt[0x6A]= TEXT("Custom Force Vendor Defined Data");
  62. g_rgUsageTxt[0x6B]= TEXT("Set Custom Force Report");
  63. g_rgUsageTxt[0x6C]= TEXT("Custom Force Data Offset");
  64. g_rgUsageTxt[0x6D]= TEXT("Sample Count");
  65. g_rgUsageTxt[0x6E]= TEXT("Set Periodic Report");
  66. g_rgUsageTxt[0x6F]= TEXT("Offset");
  67. g_rgUsageTxt[0x70]= TEXT("Magnitude");
  68. g_rgUsageTxt[0x71]= TEXT("Phase");
  69. g_rgUsageTxt[0x72]= TEXT("Period");
  70. g_rgUsageTxt[0x73]= TEXT("Set Constant Force Report");
  71. g_rgUsageTxt[0x74]= TEXT("Set Ramp Force Report");
  72. g_rgUsageTxt[0x75]= TEXT("Ramp Start");
  73. g_rgUsageTxt[0x76]= TEXT("Ramp End");
  74. g_rgUsageTxt[0x77]= TEXT("Effect Operation Report");
  75. g_rgUsageTxt[0x78]= TEXT("Effect Operation");
  76. g_rgUsageTxt[0x79]= TEXT("Op Effect Start");
  77. g_rgUsageTxt[0x7A]= TEXT("Op Effect Start Solo");
  78. g_rgUsageTxt[0x7B]= TEXT("Op Effect Stop");
  79. g_rgUsageTxt[0x7C]= TEXT("Loop Count");
  80. g_rgUsageTxt[0x7D]= TEXT("Device Gain Report");
  81. g_rgUsageTxt[0x7E]= TEXT("Device Gain");
  82. g_rgUsageTxt[0x7F]= TEXT("PID Pool Report");
  83. g_rgUsageTxt[0x80]= TEXT("RAM Pool Size");
  84. g_rgUsageTxt[0x81]= TEXT("ROM Pool Size");
  85. g_rgUsageTxt[0x82]= TEXT("ROM Effect Block Count");
  86. g_rgUsageTxt[0x83]= TEXT("Simultaneous Effects Max");
  87. g_rgUsageTxt[0x84]= TEXT("Pool Alignment");
  88. g_rgUsageTxt[0x85]= TEXT("PID Pool Move Report");
  89. g_rgUsageTxt[0x86]= TEXT("Move Source");
  90. g_rgUsageTxt[0x87]= TEXT("Move Destination");
  91. g_rgUsageTxt[0x88]= TEXT("Move Length");
  92. g_rgUsageTxt[0x89]= TEXT("PID Block Load Report");
  93. g_rgUsageTxt[0x8A]= TEXT("Handshake Key");
  94. g_rgUsageTxt[0x8B]= TEXT("Block Load Status");
  95. g_rgUsageTxt[0x8C]= TEXT("Block Load Success");
  96. g_rgUsageTxt[0x8D]= TEXT("Block Load Full");
  97. g_rgUsageTxt[0x8E]= TEXT("Blodk Load Error");
  98. g_rgUsageTxt[0x8F]= TEXT("Block Handle");
  99. g_rgUsageTxt[0x90]= TEXT("PID Block Free Report");
  100. g_rgUsageTxt[0x91]= TEXT("Type Specific Block Handle");
  101. g_rgUsageTxt[0x92]= TEXT("PID State Report");
  102. g_rgUsageTxt[0x93]= TEXT("PID Effect State");
  103. g_rgUsageTxt[0x94]= TEXT("ES Playing");
  104. g_rgUsageTxt[0x95]= TEXT("ES Stopped");
  105. g_rgUsageTxt[0x96]= TEXT("PID Device Control");
  106. g_rgUsageTxt[0x97]= TEXT("DC Enable Actuators");
  107. g_rgUsageTxt[0x98]= TEXT("DC Disable Actuators");
  108. g_rgUsageTxt[0x99]= TEXT("DC Stop All Effects");
  109. g_rgUsageTxt[0x9A]= TEXT("DC Device Reset");
  110. g_rgUsageTxt[0x9B]= TEXT("DV Device Pause");
  111. g_rgUsageTxt[0x9C]= TEXT("DC Device Continue");
  112. g_rgUsageTxt[0x9D]= TEXT("Device State");
  113. g_rgUsageTxt[0x9F]= TEXT("Device Paused");
  114. g_rgUsageTxt[0xA0]= TEXT("Actuators Enabled");
  115. g_rgUsageTxt[0xA4]= TEXT("Safety Switch");
  116. g_rgUsageTxt[0xA5]= TEXT("Actuator Override Switch");
  117. g_rgUsageTxt[0xA6]= TEXT("Actuator Power");
  118. g_rgUsageTxt[0xA7]= TEXT("Start Delay");
  119. g_rgUsageTxt[0xA8]= TEXT("Parameter Block Size");
  120. g_rgUsageTxt[0xA9]= TEXT("Device Managed Pool");
  121. g_rgUsageTxt[0xAA]= TEXT("Shared Parameter Blocks");
  122. g_rgUsageTxt[0xAB]= TEXT("Create New Effect Report");
  123. g_rgUsageTxt[0xAC]= TEXT("RAM pool avaliable");
  124. CAssertF( 0xAC == PIDUSAGETXT_MAX);
  125. }
  126. #endif