Get1IndType
Get1IndType
Get a ResType of resource in current file, given its index Given a resource type and a "1-deep" resource index (an arbitrary value
rType is the address of a 4-byte ResType value. Upon return, it will contain the resource type code associated with the resource identified
by index ; e.g., 'FONT', 'ICON', 'ICN#', etc. A value of 0 (four ASCII
NULs) indicates that index was an invalid value.
index is a positive integer. It should range from 1 to the total number of
distinct resources available in the current resource file. The highest
resource types only from the current resource file (see UseResFile) By calling this repeatedly over the entire range of index, you can obtain the
types of all resources in the current active resource file.
Get1IndType is only needed by resource-management utilities such as ResEdit. This function is the second step (following Count1Types) in generating a list of all the different resource types, thus making it possible
to look up every resource individually.