# NNS_G2dApplyOamManExToBaseModule

## Syntax

      #include <nnsys/g2d/g2d_OAMEx.h>

      void NNS_G2dApplyOamManExToBaseModule (
                                  NNSG2dOamManagerInstanceEx* pMan );

## Arguments

`pMan` | [IN] Extended OAM manager entity

## Return Values

None.

## Description

Calls OAM registered functions to an external module to apply the Extended OAM Manager's contents to the actual hardware. This function calls the registration functions set by the `NNS_G2dSetOamManExEntryFunctions` function using the various elements in the Manager entity's internal registration OAM list as arguments.
At this time as described above, the registration functions are called in the display priority order that was specified during OAM registration.

## Note on the Render Order for OAM Groups with the Same Display Priority

OAM groups with the same display priority are managed internally by the manager, with lists. The manager calls and processes registration functions starting from the top of the internal list and then works toward the end. Because the OAM adds registration functions to the the top of the list as they are registered, registration functions are called in the reverse order of the order they were registered. OAMs that have undergone affine transformation are managed on a separate list in the manager, and they are moved to the top of the normal OAM list after the actual affine parameter numbers have been resolved when the `NNS_G2dApplyOamManExToBaseModule` function is called. Accordingly, OAMs that have undergone affine transformation in OAM groups with the same display priority will be called before OAMs that have not undergone affine transformation. Therefore, registered function calls occurs before OAM that have not undergone affine transformation.

The name of this function has been changed from `NNS_G2dApplyToBaseModuleEx`. The previous function remains under a different name to maintain compatibility.

## See Also

`NNS_G2dApplyToBaseModuleEx`

## Revision History

2005/03/28 Added caution regarding the render order for OAM groups with the same display priority.
2004/08/02 Renamed function.
2004/06/22 Initial version.

CONFIDENTIAL