# NNS_G2dEntryNewOamWithAffineIdx

## Syntax

      #include <nnsys/g2d/g2d_Oam.h>

      BOOL NNS_G2dEntryNewOamWithAffineIdx
                            (
                                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 OBJs in the OAM manager. After the registration occurs, the affine index that the OBJ references is rewritten.
The name of this function has changed to `NNS_G2dEntryOamManagerOamWithAffineIdx`. To maintain compatibility with past versions, this function has been kept under a different name.

## See Also

`NNS_G2dEntryOamManagerOamWithAffineIdx`
`NNS_G2dEntryOamManagerOam`

## Revision History

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

CONFIDENTIAL