Repository navigation
COMPATIBILITY_CONTEXT_ELEMENT breaking change in 10.0.18362.0 #661
Unanswered
Kalle Olavi Niemitalo (KalleOlaviNiemitalo)
asked this question in
Q&A
Replies: 1 comment
|
Steve Otteson (@sotteson1) what are your thoughts on this? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The COMPATIBILITY_CONTEXT_ELEMENT structure in <winnt.h> got a new member
ULONGLONG MaxVersionTestedbetween Windows SDK versions 10.0.17763.0 and 10.0.18362.0. This changed sizeof(COMPATIBILITY_CONTEXT_ELEMENT) from 20 to 32. The ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION structure has a trailing arrayCOMPATIBILITY_CONTEXT_ELEMENT Elements[], which cannot be correctly indexed if the element size does not match. <winnt.h> does not make the earlier versions of these structures available in any way.Changes like that should hopefully be rare. If they do occur, should win32metadata publish both definitions, even though the headers don't?
More details about the change on an archived MSDN forum.
All reactions