Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: How to read Windows Media 9 Profiles

HTVi
TV Discussion Newsgroups

How to read Windows Media 9 Profiles
Vinay 5/17/2007 1:58:02 PM
I have Windows Media Format SDK11 installed on my system. I want to read the
Windows Media 9 profiles.
I am using following piece of code to read the system profiles

IBaseFilter *pAsfWriter = NULL;
IWMProfile *pProfile = NULL;
IWMProfile *pSystemProfiles = NULL;

IWMProfileManager *pProfileMgr = NULL;
hr = WMCreateProfileManager(&pProfileMgr);
DWORD dwCount = 0;
IWMProfileManager2 *pProfileMgr2 = NULL;
hr = pProfileMgr->QueryInterface(IID_IWMProfileManager2,
(void**)&pProfileMgr2);
if(pProfileMgr2)
hr = pProfileMgr2->SetSystemProfileVersion(WMT_VER_9_0);
pProfileMgr->GetSystemProfileCount(&dwCount);

The dwCount returns 0.
If I set the pProfileMgr2->SetSystemProfileVersion(WMT_VER_8_0) It returns 27.

Is there any way I can read Windows Media 9 profiles?

Thank you
Vinay

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen