ReleaseResource
Handle rHandle ; existing, valid handle to a resource This frees up all memory used by a resource and sets its handle in the
resource map to NIL. The handle must no longer be referenced as a resource.
rHandle is a handle leading to some variable length resource data. This
return an error).
Notes: Use this to free up memory used for generic handles obtained via
calls such as GetMenu have manager-specific calls to release resources map to NIL. It does not set the rHandle parameter passed to it to NIL.
When you call CloseResFile (or terminate your application via ExitToShell) all application resource handles are released automatically.