Could you explain why you needed to add this pragma and undef UNICODE? And, I prefer you don't change whitespace and coding standard.