Purges a queue of all its elements.

#define INCL_DOSQUEUES
#include <os2.h>

HQUEUE    hq;    /*  The handle of the queue to be purged. */
APIRET    ulrc;  /*  Return Code. */

ulrc = DosPurgeQueue(hq);


[Back] [Next]