BATTERY_MANUFACTURE_DATE structure

Contains the date of manufacture of a battery. This structure is used by the BATTERY_QUERY_INFORMATION structure when the BatteryManufactureDate information level is requested.

Syntax


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 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 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 1900-2100.

Remarks

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Poclass.h;
Batclass.h on Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP

See also

BATTERY_QUERY_INFORMATION
IOCTL_BATTERY_QUERY_INFORMATION

 

 

Show: