Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to IInitializeWithFile Receive Multiple Callbacks in Windows 11, Leading to Explorer Crashes.
In Windows 11, the behavior of the CoCreateInstance COM API has changed compared to Windows 10. Specifically, the callbacks from combase.dll are invoked multiple times, which is not the case in Windows 10. This could be due to changes in how COM objects are managed and instantiated in Windows 11. The repeated callbacks with garbage values in the file path parameter suggest that there might be an issue with how the COM object is being initialized or how the VTable is being modified.
The changes in callback behavior in Windows 11 could be related to improvements or modifications in the COM infrastructure. These changes might be aimed at improving performance, security, or compatibility with newer applications and services. Understanding the exact nature of these changes might require in-depth analysis of the Windows 11 COM API documentation and potentially reaching out to Microsoft support for more detailed information.
Here is some documents for your reference:
https://learn.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-cocreateinstance
https://learn.microsoft.com/en-us/windows/win32/api/propsys/nn-propsys-iinitializewithfile
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it