# NNS_G3dGetResDictIdxByName

## Syntax

      #include <nnsys/g3d/binres/res_struct_accessor.h>

      int
      NNS_G3dGetResDictIdxByName(
          const NNSG3dResDict* dict,
          const NNSG3dResName* name
      );

## Arguments

dict | The pointer to the dictionary
name | The resource name

## Return Values

This function returns the index that corresponds to the resource name. A negative value is returned if an index value that corresponds to the resource name cannot be found.

## Description

This function searches for the index that corresponds to the resource name `name` from the dictionary `dict`.

## See Also

`NNS_G3dGetResDataByName`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL