# NNS_G2dInitManagerInstanceAffine

## C Specification

      #include <nnsys/g2d/g2d_Oam.h>

      BOOL NNS_G2dInitManagerInstanceAffine(
      		                NNSG2dOamManagerInstance* pMan,
      		                u16  from,
      		                u16                            to );

## Arguments

`pMan` | [OUT] OAM manager entity
`from` | [IN] Affine parameter management region-start index
`to` | [IN] Affine parameter management region-end index

## Return Values

Success or failure.

## Description

Initializes the affine manager of the OAM manager entity. There is no need to call this function if affine management is not being performed. The value of `"from"` must be less than or equal to the value of `"to"`. Execute this function along with `NNS_G2dGetNewManagerInstance` to initialize the OAM manager entity. This function was kept in order to maintain compatibility with older versions. Use the `NNS_G2dGetNewOamManagerInstance` function instead. The name of this function has changed to `NNS_G2dGetNewOamManagerInstance`. To maintain compatibility, the previous function was kept under a different name.

## See Also

`NNS_G2dApplyOamManagerToHW`, `NNS_G2dGetNewOamManagerInstance`,

`NNS_G2dGetNewManagerInstance
`

## Revision History

08/02/2004 Renamed function

05/28/2004 Initial version.