D
本题考查非谓语动词。With + 宾语 + 宾语补足语,看宾语与补足语之间的关系,句中she needed为定语,修饰everything,宾语everything与buy之间的关系为被动,故用过去分词,选D。