Function EventDriverPipes.isValid
Determines whether the given pipe handle is valid.
A handle that is invalid will result in no operations being carried out
when used. In particular addRef
/releaseRef
will have no effect, but
can safely be called and I/O operations will result in
IOStatus
.
A valid handle gets invalid when either the reference count drops to zero, or the pipe is explicitly closed.