Get1IndType
Get1IndType Get a ResType of resource in current file, given its index
#include <Resources.h> Resource Manager
void Get1IndType(rType, index );
ResType *rType ; address of a 32-bit ResType variable
short index ; range: 1 to Count1Types();
Given a resource type and a "1-deep" resource index (an arbitrary value
assigned by the Resource Manager), Get1IndType obtains its 4-byte
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
valid value for index can be obtained via Count1Types.
Returns: none

Notes: Get1IndType is the "1-deep" version of GetIndType. It obtains
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.
Use Count1Types( rType ) to determine the valid range for index .
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.