winpr: expand specstrings and error definitions