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