Consider exposing some sort of ThrowIfFailed(HRESULT) method
john-h-k opened this issue · comments
Proposals
One such is already exposed in HelperUtilities, although this is an internal utility type. Would be very useful for code which uses lower-level portions of the library where checking HRESULTs is a regular occurence
I wrote an HResult
type that does just that. See here: https://github.com/bouncy-box/bouncybox-vorpalengine-old/blob/master/src/Interop/HResult.cs
I'm okay with Tanner consuming that type if he wants. One less thing for me to maintain. 😛
Can this be closed?