def get(session, name, attributes='Name'):
    """
    Description: get basic info about windows device @name

    :param session: instance of Windows, which hold session to win machine
    :type session: winremote.Windows
    :param attributes: comma delimited name of attributes to be returned
    :type attributes: str
    :param name: name of the device to fetch info
    :type name: str
    :returns: dictionary with device driver information
    :returns: info about device, None if device not found
    :rtype: dict
    """
    return session._wmi.query_first(
        "select * from Win32_PnPEntity where Name = '%s'" % name)
