Bill Medland billmedland@mercuryspeed.com writes:
Oh. I thought we wanted to do the same as Windows does!!!
Don't ask me why but for some error codes (as detailed in the patch), even though FormatMessage can return a perfectly reasonable string, DceErrorInqText doesn't return it. E.g. 7050, 7052 and 7053 but not 7051.
I really doubt that Windows has a list of magic codes where it deliberately ignores the correct error from FormatMessage to return the generic error instead. So either our FormatMessage is wrong, or there's something else going on here that we don't understand.