April 6, 2026
8:04 p.m.
Would be worth testing what happens if the string length exceeds APPLICATION_USER_MODEL_ID_MAX_LENGTH or is lower than APPLICATION_USER_MODEL_ID_MIN_LENGTH. My old notes say that native returns E_INVALIDARG for strings that are too long but does not seem to enforce the minimum length. MSDN also says "This method must be called during an application's initial startup routine before the application presents any UI or makes any manipulation of its Jump Lists." I didn't see any trace of that behavior on native, and it's probably not something that matters for us to enforce. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10565#note_135165