![]() | InstrumentSupported |
Indicates if the current instrument is supported by the driver.
bool InstrumentSupported() const;
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; }