ILMDVRSink::GetBufferTotalSize Example for C++

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

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