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; 

   pManager->LoadProfileByID (bstrGUID, &pProfile); 
}

By the profile data:

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

   pManager->LoadProfileByData (bstrData, &pProfile); 
}