Click or drag to resize

GetManufacturerId

Gets the VISA interface manufacturer ID.

virtual HRESULT GetManufacturerId(UINT16* pusId) abstract;
Parameters
pusId

[out] VISA interface manufacturer ID.

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Example

The following example demonstrates use of the GetManufacturerId function.

C++
// CoAcme4321.cpp
STDMETHODIMP Acme4321::IAcme4321_OnFinalInitialize()
{
  HRESULT hr = S_OK;

  USHORT usManufacturerId;
  hr = io.SessionInfo.GetManufacturerId(&usManufacturerId);

  return hr;
}
See Also

Other Resources

Download a complete CHM version of this documentation here.