Virtual Serial Ports - Software Virtual COM Port Null Modem Cable Emulator for Windows
Deletes the virtual serial device. Device is actually deleted when all handles and references to it are closed or released. After calling this method, you may only release a reference. All other methods and properties (except IVirtualSerialDevice.deleted property) will return error codes after this method is called.
The calling application must have required privileges in order to be able to delete a device instance on the target computer for this method to work successfully. Otherwise, the "Access Denied" error is returned. When UAC is turned on, the calling application must have already elevated itself before calling this method.
It is allowed to call this method from 32-bit application on 64-bit operating system. In this case, the library uses a proxy to perform device deletion in the context of 64-bit process. This is performed transparently for the calling application. The same security and elevation requirements apply in this case.