Update cap_msmf.cpp

Cleaned up conditional compilation code of enums and query references.  Fixed fatal bug in parallel task library ported to C++ using _com_error which causes fatal compiler and linker consequences to the IRestrictedErrorInfo interface.