OS.HLock(iconHandle);
/* Dispose the ColorTable */
int[] iconPtr = new int[1];
OS.memcpy(iconPtr, iconHandle, 4);
PixMap iconPMap = new PixMap();
OS.memcpy(iconPMap, iconPtr[0], PixMap.sizeof);
if (iconPMap.pmTable != 0) OS.DisposeHandle(iconPMap.pmTable);
/* Dispose the icon data */
int[] iconData = new int[1];