# NNS_G2dInitManagerInstanceAffine

## Syntax

      #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 the `NNS_G2dGetNewManagerInstance` function to initialize the OAM manager entity.
This function was kept to maintain compatibility with older versions. For new code, use the `NNS_G2dGetNewOamManagerInstance` function instead. The name of this function has changed to `NNS_G2dGetNewOamManagerInstance`. To maintain compatibility with past versions, this function has been kept under a different name.

## See Also

`NNS_G2dApplyOamManagerToHW`
`NNS_G2dGetNewOamManagerInstance`
`NNS_G2dGetNewManagerInstance`

## Revision History

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

CONFIDENTIAL