vuMailSlotDestroyAll()
vuMailSlotDestroyAll(), Signed
Description
Destroys all mailslots currently registered by vuFileTools in the calling process.
Parameters
| Parameter |
Data Type |
Description |
| None |
|
This function takes no parameters. |
Returns
- 1 (True) if there are no active slots or every active slot is destroyed successfully.
- 0 (False) if one or more handles could not be closed. Any failed slots remain tracked so they are not silently lost.
Example
IF vuMailSlotDestroyAll()
MESSAGE('All mail slots destroyed successfully.')
ELSE
MESSAGE('One or more mail slots could not be destroyed.')
END
Notes
- Build 208 strengthens cleanup bookkeeping when one or more CloseHandle operations fail.
- vuMailSlotLastError retains the first Windows close error encountered during the operation.