UPS Minidriver Functionality

A UPS minidriver must export the following set of functions, which are called by the system-supplied UPS service:

Additionally, the minidriver must export a DLLMain function, as described in Microsoft Windows SDK documentation.

Besides exporting these functions, the minidriver must provide initial values for UPS registry entries and then modify the values as necessary to reflect UPS state changes.

Typically, a UPS minidriver communicates with a UPS unit through a COM port by calling the CreateFile, ReadFile, and WriteFile functions (described in Windows SDK documentation). The minidriver is responsible for implementing whatever communication protocol the UPS unit supports.