# Synopsis

(macro) void *oqm_RemoveObject(long option, OQM_QUEUE *queue)

# Purpose

Remove an object from an object queue.

# Description

This function will remove the current object in the specified queue and return a pointer to the next object. The remaining objects will move up in the queue.

# Input

## option

Options (not used)

## queue

Queue pointer

# Return

Object pointer of NULL if error