HP_WMI_MAX_STR_SIZE
char buf[HP_WMI_MAX_STR_SIZE];
len = min(cps * 3, HP_WMI_MAX_STR_SIZE - 1);
len = strnlen(src, HP_WMI_MAX_STR_SIZE - 1);