member field m_nDevices has to be initialized