Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Multimedia API Help

IltmmMemory::get_GrowBy Example for C++

Show in webframe

void TestSetPreferredFilter(IltmmMemory *pMemory)
{
   long lOldGrowBy, lNewGrowBy;

   // get the grow by amount
   pMemory->get_GrowBy(&lOldGrowBy);
   
   // increase it
   pMemory->put_GrowBy(lOldGrowBy + 100);

   // get the grow by amount again
   pMemory->get_GrowBy(&lNewGrowBy);
   
   // display it here
   CString strGrowBy;
   strGrowBy.Format(TEXT("The old amount memory object size = %d\nThe new amount memory object size = %d"), lOldGrowBy, lNewGrowBy);

   MessageBox(NULL, strGrowBy, TEXT("Memory Object Grow Setting"), MB_OK); 
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.