https://bugs.winehq.org/show_bug.cgi?id=38895
--- Comment #16 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Erich E. Hoover from comment #15)
My preference would be to implement it like the newly attached version. I was trying to avoid changing things too much in the other patch, but I think this is clearer. Do we have any other test apps that might have 64-bit cookies? We should be able to improve things later if we run into trouble, but I think this is at least a good start.
Sounds like it's time to add a test to dlls/kernel32/tests/loader.c ?