ILMDVRSource::GetBufferInfo Example for C

void OnGetBufferInfo(ILMDVRSource* pSource)
{
   long index = 0;
   BSTR filename;
   double usefulSize;
   double fileSize;
   long playIndex;
   long flags;

   ILMDVRSource_ GetBufferInfo  (pSource, index, &filename, &usefulSize, &fileSize, &playIndex, &flags);

   ::SysFreeString(filename);
}