April 8, 2026
2:41 p.m.
On Wed Apr 8 19:21:01 2026 +0000, Tim Clem wrote:
Huh, E_INVALIDARG for APPLICATION_USER_MODEL_ID_MAX_LENGTH - 1 on native. I'm honestly not sure what's up with that. The documentation says MAX_LENGTH = 130 with "space included for NULL terminator", which I initially read as 129 chars + NULL = 130. But native rejects 129 and accepts 128.
Is the correct interpretation that the constant includes additional padding beyond the NULL terminator (128 chars + NULL + 1 reserved = 130)? Or is the documentation simply off by one? I am really not sure on this point, I have no idea how to read that right. Anyway, back to 128? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10565#note_135546