Gets the type of a named resource from a resource file. Names for a resource can be given as a variable set of, null terminated, string arguments. Each string specifies one or more levels in the naming tree. A simple string without '.' characters specifies a single level in the naming tree where as a dot separated set of names in a string specify a series of names in the naming tree.
Finding the type for a named object in the resource file could look like:
IResFile_GetNamedType(piResFile, &restype, "Main", "Background", "Object", 0)
int IResFile_GetNamedType(IResFile *pif, uint16* ptype, ...);
AEE_SUCCESS: The named resource was found and the resource id located AEE_EBADPARM: One of the given parameters is invalid EBADSTATE: Resource file is not open EUNSUPPORTED: Resource file does not support named resources EUNABLETOLOAD: Named resource could not be resolved