1) Windows programming question.
2) Post more code, it's impossible to know what your problem is from one line. It IS good that you've narrowed it to that one line. Most importantly, what is the class of "m_mci"? You're obviously not using WinAPI as you're using classes, is this MFC or is it a custom wrapper class?