ILTDVDBurner::GetDriveId Example for C++

void OnGetDriveId(ILTDVDBurner* pBurner)
{
   BSTR bstrDriveId;
   pBurner->GetDriveId(0, &bstrDriveId);
   SysFreeString(bstrDriveId);
}