IltmmWMProfileManager::LoadProfileByID Example for C

For complete code, refer to the CNVWM demo.

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

   IltmmWMProfileManager_LoadProfileByID(pManager, bstrGUID, &pProfile); 
}

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

   IltmmWMProfileManager_LoadProfileByData(pManager, bstrData, &pProfile); 
}