IltmmMemory::get_GrowBy Example for C

void IltmmMemory_get_GrowBy_Example (IltmmMemory* pMemory) 
{ 
   char szGrowBy[256];  
   long lOldGrowBy, lNewGrowBy;  
 
    
   IltmmMemory_get_GrowBy(pMemory, &lOldGrowBy);  
    
   IltmmMemory_put_GrowBy(pMemory, lOldGrowBy + 100);  
    
   IltmmMemory_get_GrowBy (pMemory, &lNewGrowBy);  
 
   sprintf(szGrowBy, "The old amount memory object size = %d\nThe new amount memory object size = %d",lOldGrowBy, lNewGrowBy);  
 
   MessageBox(NULL, szGrowBy, NULL, MB_OK); 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.