Click or drag to resize

GetManufacturerName

Gets the VISA interface manufacturer name.

virtual HRESULT GetManufacturerName(CString& strName) abstract;
Parameters
strName

[out] VISA interface manufacturer name.

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Example

The following example demonstrates use of the GetManufacturerName function.

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

  CString strManufacturerName;
  hr = io.SessionInfo.GetManufacturerName(strManufacturerName);

  return hr;
}
See Also

Other Resources

Download a complete CHM version of this documentation here.