'Return a list of instances of the WMI class. This is
(probably) equivalent to querying with no qualifiers::
wmi.WMI ().instances ("Win32_LogicalDisk")
# should be the same as
wmi.WMI ().Win32_LogicalDisk ()'

def instances(self, class_name):

    try:
        return [_wmi_object(obj) for obj in self._namespace.InstancesOf(class_name)]
    except pywintypes.com_error:
        handle_com_error()
