Example #1
0
        private void Config()
        {
            IWMProfileManager pWMProfileManager;

            WMUtils.WMCreateProfileManager(out pWMProfileManager);
            IWMProfileManager2 pProfileManager2 = (IWMProfileManager2)pWMProfileManager;

            pProfileManager2.SetSystemProfileVersion(WMVersion.V8_0);
            pProfileManager2.CreateEmptyProfile(WMVersion.V8_0, out m_pProfile);
        }
Example #2
0
        private void Config()
        {
            IWMProfileManager pWMProfileManager;
            IWMProfile        pProfile;

            WMUtils.WMCreateProfileManager(out pWMProfileManager);
            IWMProfileManager2 pProfileManager2 = (IWMProfileManager2)pWMProfileManager;

            pProfileManager2.CreateEmptyProfile(WMVersion.V8_0, out pProfile);

            pProfile.CreateNewStream(MediaType.Video, out m_sc);
        }
        private void Config()
        {
            IWMProfileManager pWMProfileManager;
            IWMProfile        pProfile;

            WMUtils.WMCreateProfileManager(out pWMProfileManager);
            IWMProfileManager2 pProfileManager2 = (IWMProfileManager2)pWMProfileManager;

            pProfileManager2.SetSystemProfileVersion(WMVersion.V8_0);
            pProfileManager2.CreateEmptyProfile(WMVersion.V8_0, out pProfile);

            m_pLang = pProfile as IWMLanguageList;
        }
Example #4
0
        private void Config()
        {
            IWMProfileManager pWMProfileManager;
            IWMStreamConfig   sc;

            WMUtils.WMCreateProfileManager(out pWMProfileManager);
            IWMProfileManager2 pProfileManager2 = (IWMProfileManager2)pWMProfileManager;

            pProfileManager2.CreateEmptyProfile(WMVersion.V8_0, out m_pProfile);

            m_pProfile.CreateNewStream(MediaType.Video, out sc);

            m_pv = sc as IWMPropertyVault;
        }