# Synopsis

PDX_MSGT mpm_DumpStack(long option)

# Purpose

Dump the message processor error stack.

# Description

This function will output the error stack with the last entry in being first out. Every entry on the stack will be processed and the stack will be cleared. If a fatal error is detected on the stack the error handler function will be invoked with the fatal message value.

# Input

## option

### MPM_FIRST

Output first entry in only

### MPM_LAST

Output last entry in only

### MPM_STACK

Output entire stack

# Return

MPM_NOERR