Visual C++ General
Do a search for WINVER, _WIN32_WINNT and _WIN32_WINDOWS
WINVER is normally the one you set in your project options to specify the minimum windows version your project supports.
You can also use WINVER in your code files to detect which version the code is compiled for.
I don't understand the relevance of the MOF class; if it relevant, then your question requires clarification. If it is not relevant, then the MOF class is irrelevant.
A #define gets evaluated by the preprocessor and does not exist after the preprocessor, therefore it is useless during execution. So perhaps GetVersionEx is what you need.