IltmmMemory::get_GrowBy Example for C

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

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