Rémi Bernon (@rbernon) commented about dlls/cfgmgr32/main.c:
- if (!(ctx = calloc( 1, sizeof( *ctx ))))
return E_OUTOFMEMORY;
- ctx->ref = 1;
- if (!(flags & DevQueryFlagAsyncClose))
- {
ctx->closed = CreateEventW( NULL, FALSE, FALSE, NULL );
if (ctx->closed == INVALID_HANDLE_VALUE)
{
free( ctx );
return HRESULT_FROM_WIN32( GetLastError() );
}
- }
- InitializeCriticalSectionEx( &ctx->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO );
- if (ctx->cs.DebugInfo)
ctx->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": device_query_context.cs");
```suggestion:-1+0 ctx->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": device_query_context.cs"); ```