SetMemoryInfo example for C++ 5.0 and later
// change the tiled bitmap so is can use as many cache buffers as possible:
m_RasterView.GetRaster().SetMemoryInfoType (0);
m_RasterView.GetRaster().SetMemoryInfoTileSize (0);
m_RasterView.GetRaster().SetMemoryInfoTotalTiles (0);
m_RasterView.GetRaster().SetMemoryInfoConventionalTiles (0);
m_RasterView.GetRaster().SetMemoryInfoMaxTileViews (0xFFFFFFFF);
m_RasterView.GetRaster().SetMemoryInfoTileViews(0xFFFFFFFF);
m_RasterView.GetRaster().SetMemoryInfoFlags (SET_MEMORYINFO_MAXTILEVIEWS|
SET_MEMORYINFO_TILEVIEWS);
m_RasterView.GetRaster().SetMemoryInfo();