ILMDVRSink::GetBufferTotalSize Example for C

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

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