[out] VISA I/O session type.
GetSessionType
Gets the VISA I/O session type.
Syntax
Section titled “Syntax”virtual HRESULT GetSessionType(CString& strType) abstract;Parameters
Section titled “Parameters”strType
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 GetSessionType function.
STDMETHODIMP Acme4321::IAcme4321_OnFinalInitialize(){ HRESULT hr = S_OK;
CString strType; hr = io.SessionInfo.GetSessionType(&strType);
return hr;}