Click or drag to resize


Indicates if the current instrument is supported by the driver.

bool InstrumentSupported() const;
Return Value

Returns true if the current model is supported.


In order for a model to be supported, it must be listed in the Models Page of the Driver Settings Editor.


The following example demonstrates use of the InstrumentSupported function.

// CoAcme4321.cpp
HRESULT Acme4321::Configure()
  HRESULT hr = S_OK;

  if (!InstrumentSupported())
    return err.ModelNotSupported(GetModel());

  hr = InstrPrintCommand();

  return hr;
See Also

Download a complete CHM version of this documentation here.