Retrieves virtual serial port name by index.
|Visual Basic .NET||
Function GetVirtual(ByVal Index As UInt32, ByRef MarkedForDeletion As Boolean) As String
String GetVirtual(UInt32 Index, ref Boolean MarkedForDeletion);
[in] Index of virtual serial port (0 ... unPortsCount - 1). Refer to EnumVirtual.
[out] If TRUE, the port is marked for deletion (but it cannot be deleted because it is open by serial application). It will be removed on port close. FALSE otherwise.
The method may throw exception. Use GetLastError method to get the error code.
|ftvspcErrorFailed||1||The operation has not been completed.|
|ftvspcErrorInsufficientBuffer||4||Insufficient buffer size.|
|ftvspcErrorNoMoreItems||102||There is no item (possible reason: index is too high).|