ILTDVDBurner::GetDriveName Example for C++

void CDVDBurnerDlg::OnGetDriveName(ILTDVDBurner* pBurner)
{
   BSTR bstrDriveName;
   pBurner->GetDriveName (0, &bstrDriveName);
   SysFreeString(bstrDriveName);
}