SMC_OutQueueRestoreHistory (FUN)
FUNCTION SMC_OutQueueRestoreHistory : UINT
Restores a given number of deleted entries of the queue, given that they have not yet been overwritten.
At most SMC_GetHistoryCount ontries are restored, if nNumElems is greater, the maximum possible number of elements is restored.
The number of elements restored is returned.
Note
This function should only be used from the task that is reading and deleting elements from the queue.
InOut:
Scope |
Name |
Type |
Return |
SMC_OutQueueRestoreHistory |
UINT |
Input |
poq |
POINTER TO SMC_OUTQUEUE |
nNumElems |
UINT |