Synopsis

void *olm_GetObject(long option, OLM_LIST *list, int position)

Purpose

Get an object from an object list.

Description

This function will return the object pointer in the specified list at the specified position. This object will become the current object in the list.

Input

option

Options (not used)

list

Object list pointer

position

Position number or OLM_CURRENT, OLM_FIRST, OLM_LAST

Return

Object pointer in list or NULL if error