HomeResFile

To let a given resource handle return a file reference, use the HomeResFile function.

FUNCTION HomeResFile(h as Handle) as Integer

rHandle generic handle of resource of interest.

Returns: file ref num of rsrc file containing the rhandle's resource (-1=error)

Description:
Returns the file reference number of the file containing a resource identified by a specified handle.

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