Recently I was asked to investigate a strange crash that happens in our application. The application calls function Test that returns HRESULT. This function is part of the interface. Let’s call it IMyIntf. The caller is located in the main.dll and the interface is implemented in the module.dll.

And this call failed. Initially, I started checking the function implementation of the Test function to see what can be possibly wrong there but after some time I found that it returns a rather strange HRESULT. In this call stack HRESULT was 0xd337fe00. I cannot find any description for such a strange HRESULT.