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