# NNS_G2dGetNewOamInstanceEx

## C Specification

      #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
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

This function 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 drawing. The name of this function has changed to `NNS_G2dGetOamManExInstance`. In order to maintain compatibility, the previous function was kept under a different name.

## See Also

`NNS_G2dGetOamManExInstance`, `NNS_G2dInitAffineManagerEx`, `NNS_G2dSetOamManExEntryFunctions`

## Revision History

06/22/2004 Initial version.