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);
}