Important: The information in this document is obsolete and should not be used for new development.
Disposing of Icons
When you are finished with a handle obtained fromGetCIcon
, use theDisposeCIcon
procedure to release the memory occupied by the color icon record.When you are finished using a handle obtained from
GetIcon
orGetResource
, use theReleaseResource
procedure to release the memory occupied by the icon resource data; for more information aboutGetResource
andReleaseResource
, see the chapter "Resource Manager" in this book.To dispose of icons in an icon suite, use the
DisposeIconSuite
function described on page 5-42.
Subtopics
- DisposeCIcon