IltmmWMProfileManager::LoadProfileByID Example for C

For complete code, refer to the CNVWM demo.

By Profile GUID:

void LoadProfileFromGUID(IltmmWMProfile *pProfile, IltmmWMProfileManager *pManager, BSTR bstrGUID) 
{
   pProfile = NULL; 

   IltmmWMProfileManager_LoadProfileByID(pManager, bstrGUID, &pProfile); 
}

By the Profile Data:

void LoadProfileFromData(IltmmWMProfile *pProfile, IltmmWMProfileManager *pManager, BSTR bstrData) 
{
   pProfile = NULL; 

   IltmmWMProfileManager_LoadProfileByData(pManager, bstrData, &pProfile); 
}