Hello
It seems like you're encountering an issue with logging the "setthreadcontext" API usage for 32-bit processes using the "Microsoft-Windows-Kernel-Audit-API-Calls" provider. This issue is specific to 32-bit processes on both Windows 10 and 11 64-bit OS.
From the information I found, it appears that the "Microsoft-Windows-Kernel-Audit-API-Calls" provider is designed to log various API calls, including "setthreadcontext" for 64-bit processes. However, there might be limitations or specific configurations required for 32-bit processes.
Here are a few things you might consider:
Check Provider Configuration: Ensure that the provider is correctly configured to capture events for 32-bit processes. Sometimes, specific flags or settings might be needed to enable logging for 32-bit processes.
ETW Stack Crawling Support: There might be differences in how ETW stack crawling is supported for 32-bit and 64-bit processes.
Consult Documentation: The GitHub repository for ETW providers might have additional information or updates regarding the "Microsoft-Windows-Kernel-Audit-API-Calls" provider. You can check the repository for any relevant details.