Platform SDK: Hardware

BATTERY_MANUFACTURE_DATE

The BATTERY_MANUFACTURE_DATE structure indicates the date of manufacture of a battery. It is used by the BATTERY_QUERY_INFORMATION structure when the BatteryManufactureDate information level is requested.

typedef struct _BATTERY_MANUFACTURE_DATE {
  UCHAR   Day;
  UCHAR   Month;
  USHORT  Year;
} BATTERY_MANUFACTURE_DATE, *PBATTERY_MANUFACTURE_DATE;

Members

Day
The day of the month of manufacture, in the range of 1 to 31. In spite of the data type, this is not an ASCII encoded value. It is an unsigned byte.
Month
The month of manufacture, in the range of 1 (January) to 12 (December). In spite of the data type, this is not an ASCII encoded value. It is an unsigned byte.
Year
The year of manufacture. This will typically be in the range of 1900-2100.

Remarks

The date is encoded in the Gregorian or western calendar format.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Batclass.h.

See Also

Device Input and Output Overview, Device Input and Output Structures, BATTERY_QUERY_INFORMATION, DeviceIoControl, IOCTL_BATTERY_QUERY_INFORMATION