# Synopsis

PDX_MSGT olm_RemoveObject(long option, OLM_LIST *list, int position)

# Purpose

Remove an object from an object list.

# Description

This function will remove the specified object from the specified list. The next object in the list will become the current. If the removed object is the last, the previous will become the current.

# Input

## option

Options (not used)

## list

Object list pointer

## position

Position number or OLM_CURRENT, OLM_FIRST, OLM_LAST

# Return

OLM_NOERR or error