# NNS_G2dEntryOamManagerOamWithAffineIdx

## Syntax

      #include <nnsys/g2d/g2d_Oam.h>

      BOOL NNS_G2dEntryOamManagerOamWithAffineIdx
                            (
                                NNSG2dOamManagerInstance*   pMan,
                                const GXOamAttr*            pOam,
                                u16                         affineIdx );

## Arguments

`pMan` | [OUT] OAM manager entity
`pOam` | [IN] Address of `GXOamAttr` to register
`affineIdx` | [IN] Index of the affine parameters used by the `GXOamAttr` to register

## Return Values

If there is not enough free space, nothing is registered, and `FALSE` is returned.

## Description

Registers OBJ in the OAM manager. While registering OBJ, also overwrites the affine index that OBJ references.
This function is the `NNS_G2dEntryNewOamWithAffineIdx` function under a new name. The previous function will remain to preserve compatibility.

## See Also

`NNS_G2dEntryNewOamWithAffineIdx`
`NNS_G2dEntryOamManagerOam`

## Revision History

2004/08/02 Renamed function.
2004/05/28 Initial version.

CONFIDENTIAL