On the spray drying of uniform functional microparticles