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