void TestCallBack() { int hr; const int E_NOTIMPLEMENTED = unchecked ((int)0x80004001); MyNotification myn = new MyNotification(); // This function is documened to return E_NOTIMPLEMENTED hr = m_itva.RegisterNotificationCallBack(myn, AMTVAudioEventType.Changed); Debug.Assert(hr == E_NOTIMPLEMENTED, "RegisterNotification"); // This function is documened to return E_NOTIMPLEMENTED hr = m_itva.UnRegisterNotificationCallBack(myn); Debug.Assert(hr == E_NOTIMPLEMENTED, "RegisterNotification"); }