windows-nt/Source/XPSP1/NT/base/busdrv/acpi/hidbatt/ckutils.h
2020-09-26 16:20:57 +08:00

23 lines
428 B
C

/*
* title: ckutils.cpp
*
* purpose: misc utils headers
*
*/
struct USAGE_PROPERTIES {
BYTE * m_Unit;
BYTE m_UnitLength;
BYTE m_Exponent;
TYPEMASK m_Type; // feature, input, or output, writeable, alertable, etc.
};
struct USAGE_PATH {
USAGE UsagePage;
USAGE Usage;
USAGE_PATH * pNextUsage;
USAGE_PROPERTIES * UsageProperties;
};
BOOL GetUsage(PHID_DEVICE, char *);