DeviceManager.registerDeviceModel Method

Module: DeviceManager

Definition

(C++): Incorporates a new device model into the device manager’s registry, enabling the system to recognize and interact with devices of this model

Primarily intended for use by device plugins during initialization, this function ensures that the device manager is aware of and can manage devices corresponding to the newly registered model.

int id3DevicesDeviceManager_RegisterDeviceModel (
    const char * deviceModelName,
    ID3_DEVICES_DEVICE_MODEL hDeviceModel)

Parameters

deviceModelName const char *
in The name of the device model being registered

in The actual device model object that is being registered

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.