NetCharDevQPurgeSelf or Net32CharDevQPurgeSelf

The NetCharDevQPurgeSelf API deletes from a serial device queue all pending requests that were submitted by a particular computer.

The NetCharDevQPurgeSelf function deletes all requests that the NetCharDevQPurge function specifies, except that only requests from computername are deleted. A process that currently has a device open is unaffected.