The GetStockObject function with an argument of DC_BRUSH or DC_PEN can be used interchangeably with the SetDCPenColor and SetDCBrushColor functions.
That's from the reference at msdn.
Does "interchangeably" mean they can be used in any order?
I would guess that it doesn't mean you can use one in place of another.