Here's the patch I worked up for the bug I submitted
earlier about basetsd.h not having RC_INVOKED
The patch looks more complicated than
it is, really. It just moves all the #defined stuff
to the top of the file and encloses the rest in
#ifndef RC_INVOKED ... #endif. It seems to work
(at least it gets rid of the bug).