imgSetAttribute2
- Updated2023-02-21
- 1 minute(s) read
Usage
rval imgSetAttribute2(uInt32 void_id, uInt32 type, …);
Purpose
Sets an attribute value.
Parameters
| Name | Type | Direction |
| void_id: | uInt32 | input |
| attr | uInt32 | input |
| … | variable argument | Data is passed by value. The data type should match the expected attribute type. |
| rval | Int32 | output |
Parameter Discussion
void_id valid SESSION_ID or INTERFACE_ID.
attr: attribute to set. Refer to Attributes for valid types.
Refer to Attributes for the attribute type.
Return Value
This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.