# Synopsis

PDX_MSGT eam_InitAttrStack(long option, EAM_STACK *stack, void *defatt)

# Purpose

Initialize an entity attribute stack.

# Description

This function will initialize the specified entity attribute stack by removing all stack levels and setting the current level to the default. If a default attribute pointer is specified, it will become the new default for the stack. If NULL is specified for the default attribute pointer, the original default attributes will be used as the default.

# Input

## option

Options (not used)

## stack

Attribute stack pointer

## defatt

Default attribute pointer or NULL

# Return

EAM_NOERR or Error