| uint32_t EI_API_ADP_setProductName | ( | T * | pAdp_p, |
| const char * | pProductName_p | ||
| ) |
Set the adapter Product Name (Instance Attribute ID: 7).
Function to set the product name of the adapter selected by parameter pAdp_p.
productName exceeds 32 characters it will be truncated before being written to the internal adapter structures and a warning EI_API_ADP_eERR_LENGTH is returned.| [in] | pAdp_p | Pointer to the adapter. |
| [in] | pProductName_p | New product name as NULL (\0) terminated cstring. |
| EI_API_ADP_eERR_OK | Success. |
| EI_API_ADP_eERR_GENERAL | General error. |
| EI_API_ADP_eERR_LENGTH | Illegal parameter length, parameter pProductName_p is truncated. |