[out] VISA interface name of the I/O session.
GetInterfaceName
Gets the VISA interface name of the I/O session.
Syntax
Section titled “Syntax”virtual HRESULT GetInterfaceName(CString& strName) abstract;Parameters
Section titled “Parameters”strName
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Example
Section titled “Example”The following example demonstrates use of the GetResourceName function.
STDMETHODIMP Acme4321::IAcme4321_OnFinalInitialize(){ HRESULT hr = S_OK;
CString strInterfaceName; hr = io.SessionInfo.GetInterfaceName(strInterfaceName);
return hr;}