SetDeviceKey
|
![]() ![]() ![]() |
DeviceKey [in]
|
The 32-bit value of the device key for the current device. The device will only assert an Action Command sent by an application if the device's DeviceKey matches the device key parameter transmitted in the action command.
|
S_OK
|
Success
|
E_FAIL
|
Failure.
|
|
1) ActiveGigE or a third-party application/receiver must have a master control over the device.
|
2) The Device Key parameter of the action command sent by an application and the DeviceKey assigned to the device must be equal.
|
3) The Group Key parameter of the of the action command sent by an application and the GroupKey assigned to the corresponding device action must be equal.
|
4) The logical AND-wise operation of the Group Mask parameter of the action command sent by an application and the GroupMask assigned to the corresponding device action must be non-zero. In other words, they must have at least one common bit at the same position.
|
|