public void InvokeTuningWizard(int hwndParent, bool showAudio, bool showAudioNonPrivate, bool showAudioNotification, bool showWebCam) { IUccMediaDeviceSettings mediaDeviceSettings = this.platform as IUccMediaDeviceSettings; UCC_TUNING_WIZARD_PAGE pages = 0; if (showAudio) { pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_AUDIO; } if (showAudioNonPrivate) { pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_AUDIO_NONPRIVATE; } if (showAudioNotification) { pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_AUDIO_NOTIFICATION; } if (showWebCam) { pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_WEBCAM; } mediaDeviceSettings.InvokeTuningWizard(hwndParent, (int)pages); }
public void ResetDeviceSettings() { IUccMediaDeviceSettings mediaDeviceSettings = this.platform as IUccMediaDeviceSettings; mediaDeviceSettings.ResetDeviceSettings(); }