|
|
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
|
|
|