pfnInitializeContext2(NULL, context, NULL, &contextSize, xStateCompactionMask) :
InitializeContext(NULL, context, NULL, &contextSize);
- _ASSERTE(!success && GetLastError() == ERROR_INSUFFICIENT_BUFFER);
+ // The following assert is valid, but gets triggered in some Win7 runs with no impact on functionality.
+ // commenting this out to reduce noise, as long as Win7 is supported.
+ // _ASSERTE(!success && GetLastError() == ERROR_INSUFFICIENT_BUFFER);
// So now allocate a buffer of that size and call InitializeContext again
BYTE* buffer = new (nothrow)BYTE[contextSize];