ILMDVRSource::ReadData Example for C++

void OnReadData(ILMDVRSource* pSource) 
{ 
   double startOffset = 0; 
   long minSize = 0; 
   long maxSize = 4096; 
   DWORD dwUserData = 0; 
   BYTE *pData = (BYTE *)malloc(4096); 
   long sizeRead; 
   pSource->ReadData(startOffset, minSize, maxSize, dwUserData, pData, &sizeRead); 
   free(pData); 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Multimedia C API Help