With our friends we work it that if you bring a bottle of wine you share it throughout the night or otherwise it's a "gift" to the host. Beer is taken home as everyone usually brings an esky, same with wine.

Food we leave unless it's insisted we take it home or the leftovers are shared.