ILMDVRSource::GetBufferTotalSize Example for C++

void CDVRSinkDlg::OnGetBufferTotalSize(ILMDVRSource* pSource)
{
   long index = 0;
   long flags = DVRGetTotalSize_Allowed ;
   long filesCount;
   double totalFileSize;

   pSource-> GetBufferTotalSize  (index, flags, &filesCount, &totalFileSize);
}