D_GEN_PASSWORD_PROTECTED


This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core


D_GEN_PASSWORD_PROTECTED Selector

Parameter: devPasswordProtectedParam * PasswordProtectedParam

The security device (dongle) used with an installation of the RIP can enforce the use of a password for all plugins used with that installation. If the dongle enforces the use of passwords, this selector is not called.

If the dongle does not enforce the use of a password, the RIP calls this selector to determine whether or not each device implemented by this plugin requires a password or LDK feature to protect/enable a plugin.

If this selector returns fPasswordRequired as true , the plugin device requires a password:

      typedef struct devPasswordProtectedParam { int32 fPasswordRequired;
    } devPasswordProtectedParam

The plugin and device types can be identified by a call to D_GEN_SECURITY_NAME or, if that selector is not implemented, derived from information that is available.

Alternatively, the plugin and device types can be identified by a call to D_GEN_SECURITY_FEATURE_NUMBER or, if that selector is not implemented, derived from information that is available.