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 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help