ReleaseResource

To discard resources data and its handle, use the ReleaseResource method.

ReleaseResource(h as Handle)

rHandle existing, valid handle to a resource.


Description:
This frees up all memory used by a resource and sets its handle in the resource map to 0. The handle must no longer be referenced as a resource.

rHandle is a Handle leading to any type of resource where its value has been obtanied via GetResource, GetPicture, GetIcon, etc.

Supported platforms:
* MacOS PPC
* MacOS Carbon
Unsupported platforms:
* Windows x86