A system for automatically generating an object-oriented class wrapper to simplify
writing of device enabling programs is disclosed. In a simplified embodiment, a
storage device is utilized having plug and play drivers stored therein. Logic configured
to encapsulate functions universal to the plug and play drivers and a vi session
handle within a base class is also utilized. The system also comprises logic configured
to assign a name for the object-oriented class wrapper; logic configured to enable
use of functions defined by the plug and play drivers; logic configured to enable
use of parameters associated with the functions defined by the plug and play drivers;
and logic configured to limit acceptable values for the parameters in accordance
with acceptable parameter values defined by the plug and play drivers.