ILMDVRSink::GetBufferTotalSize Example for C++

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

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