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.

22 lines
428 B

  1. /*
  2. * title: ckutils.cpp
  3. *
  4. * purpose: misc utils headers
  5. *
  6. */
  7. struct USAGE_PROPERTIES {
  8. BYTE * m_Unit;
  9. BYTE m_UnitLength;
  10. BYTE m_Exponent;
  11. TYPEMASK m_Type; // feature, input, or output, writeable, alertable, etc.
  12. };
  13. struct USAGE_PATH {
  14. USAGE UsagePage;
  15. USAGE Usage;
  16. USAGE_PATH * pNextUsage;
  17. USAGE_PROPERTIES * UsageProperties;
  18. };
  19. BOOL GetUsage(PHID_DEVICE, char *);