I'm making a COM interface that c# will be using, however i am wondering how i am to check for errors for exception handling on the c# end. As at the moment i am just returning a HRESTULT or bool for most methods and then doing a Marshal.ThrowExceptionForHR but several things can go wrong in some of these methods and returning a E_FAIL just doesn't cut it.
What can i do in order to return more information? Can i make a HRESULT of my own?