# NNS_G2dApplyOamManExToBaseModule

## C Specification

      #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 in the external module to apply the extended OAM Manager's contents to the actual hardware. This function calls the registration functions set by `NNS_G2dSetOamManExEntryFunctions()` using all the elements in the registration OAM list of the Manager entity as arguments. At this time, the registration functions are called according to the display priority that was assigned during OAM registration.

## This following caution applies when the drawing orders for OAM groups have the same display priority.

OAM groups with the same display priority are managed in 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 registration order. 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 `NNS_G2dApplyOamManExToBaseModule()` is called. Accordingly, OAMs that have undergone affine transformaton in OAM groups with the same display priority will be called before OAMs that have not undergone affine transformaton.

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

## See Also

`NNS_G2dApplyToBaseModuleEx
`

## Revision History

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