if you mean that lfCharSet is underlined as a mistyped symbol in the first line then i am seeing the same thing here. if you mean something else then i do not follow.
Wow. I'm having trouble parsing that. It looks to me like you are explicitly de-referencing a NULL pointer, and then taking the address of the result. How is that supposed to work? (I know, that doesn't make too much difference to the question you posed, but....)
Well, I haven't ever had to do that, but I know of the "offsetof" way to do it. But, I just looked it up, and it is a macro that expands to exactly your code! Wow. Learn something new everyday.