# NNS_G2dGetNewOamInstanceEx

## Syntax

      #include <nnsys/g2d/g2d_OAMEx.h>

      BOOL NNS_G2dGetOamManExInstance(
                                      NNSG2dOamManagerInstanceEx*    pOam,
                                      NNSG2dOamChunkList*             pOamOrderingTbl,
                                      u8                              lengthOfOrderingTbl,
                                      u16                             numPooledOam,
                                      NNSG2dOamChunk*                 pPooledOam,
                                      u16                             lengthAffineBuffer,
                                      NNSG2dAffineParamProxy*         pAffineBuffer );

## Arguments

`pOam` | [OUT] Extended OAM manager entity
`pOamOrderingTbl` | [IN] Starting address of the ordering table
`lengthOfOrderingTbl` | [IN] Length of the ordering table
`numPooledOam` | [IN] Number of `OBJChunk`s
`pPooledOam` | [IN] Pointer to the `OBJChunk` array
`lengthAffineBuffer` | [IN] Length of the affine parameter buffer array
`pAffineBuffer` | [IN] Pointer to the affine parameter buffer array

## Return Values

`TRUE` if initialization succeeds.

## Description

Initializes the extended OAM Manager. The ordering table length becomes the maximum depth that can be specified when OBJs are registered. The longer the ordering table is, the greater the amount of overhead that is generated during rendering.
The name of this function has changed to `NNS_G2dGetOamManExInstance`. This function will remain as a separate name to maintain compatibility.

## See Also

`NNS_G2dGetOamManExInstance`
`NNS_G2dInitAffineManagerEx`
`NNS_G2dSetOamManExEntryFunctions`

## Revision History

2004/06/22 Initial version.

CONFIDENTIAL