#ifndef _SMBIOS_H
#include <pshpack1.h>
typedef struct _SMBIOS_SYSTEM_POWER_SUPPLY_INFORMATION
{
SMBIOS_HEADER Header;
// 2.3.1+
UCHAR PowerUnitGroup;
UCHAR Location; // string
UCHAR DeviceName; // string
UCHAR Manufacturer; // string
UCHAR SerialNumber; // string
UCHAR AssetTag; // string
UCHAR ModelPartNumber; // string
UCHAR Revision; // string
USHORT MaxPowerCapacity;
union
{
struct
{
USHORT HostSwappable : 1;
USHORT Present : 1;
USHORT Unplugged : 1;
USHORT RangeSwitching : 4; // SMBIOS_POWER_SUPPLY_RANGE_SWITCHING_*
USHORT Status : 3; // SMBIOS_POWER_SUPPLY_STATUS_*
USHORT Type : 4; // SMBIOS_POWER_SUPPLY_TYPE_*
USHORT Reserved : 2;
};
USHORT Value;
} Characteristics;
USHORT InputVoltageProbeHandle;
USHORT CoolingDeviceHandle;
USHORT InputCurrentProbeHandle;
} SMBIOS_SYSTEM_POWER_SUPPLY_INFORMATION, *PSMBIOS_SYSTEM_POWER_SUPPLY_INFORMATION;
View code on GitHub
No description available.