osClearQueue Function
Declaration:
BOOL osClearQueue(
  HANDLE Handle
);
Parameters:
Handle

The handle to the queue object.

Return value:

Returns TRUE on success or FALSE on failure. Call the osGetLastError function to obtain extended error information.

Description:

This function removes all items from the specified queue.

This function is available only when the OS_USE_QUEUE and OS_QUEUE_CLEAR_FUNC constants are both set to 1. For more information regarding queues, refer to the queue objects section.

Version:1.0
Header file:OS_Queue.h (include OS_API.h)
See also: BOOL, FALSE, HANDLE, OS_QUEUE_CLEAR_FUNC, OS_USE_QUEUE, osCreateQueue, osGetLastError, queues, TRUE
SpaceShadow documentation