# NNS_G2dEntryNewOam

## Syntax

      #include <nnsys/g2d/g2d_Oam.h>

      BOOL NNS_G2dEntryNewOam(
                               NNSG2dOamManagerInstance* pMan,
                               const GXOamAttr*          pOam,
                               u16                       num );

## Arguments

`pMan` | [OUT] OAM manager entity
`pOam` | [IN] Pointer to the start of the `GXOamAttr` array that will be registered
`num` | [IN] Number of OAMs to be registered

## Return Values

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

## Description

Registers OBJs in the OAM manager. The entered `GXOamAttr` array is copied to the Manager's internal buffer. The Manager copies only the "`attr 0,1,2`" portion of the `GXOamAttr` array elements. (In other words, the affine parameters are not overwritten.) The name of this function has changed to `NNS_G2dEntryOamManagerOam`. To maintain compatibility with past versions, this function has been kept under a different name.

## See Also

`NNS_G2dEntryOamManagerOam`
`NNS_G2dEntryOamManagerOamWithAffineIdx`

## Revision History

2004/08/02 Renamed function.

2004/05/28 Initial version.

CONFIDENTIAL