def create_pdic_param(name, values):
    """
    Create a fake procpar dictionary element of with given name and values.
    """
    dic = dict()
    dic["Dgroup"] = '1'
    dic["Ggroup"] = '2'
    dic["active"] = '1'
    dic["basictype"] = '1'
    dic["enumerable"] = '0'
    dic["intptr"] = '64'
    dic["maxvalue"] = '32767'   # 2^15-1
    dic["minvalue"] = '0'
    dic["name"] = name
    dic["protection"] = '0'
    dic["stepsize"] = '0'
    dic["subtype"] = '7'
    dic["values"] = values
    return dic