Closed zhuxb711 closed 1 year ago
For almost all of the COM interfaces, I have removed the [PreserveSig] attribute and changed the return value to void when the return value does not return any information beyond an error or when the final parameter can be used as a return value and a non-exception return is needed to adjust input memory allocations. If just an error, C# converts the HRESULT to the equivalent Exception.
If I set this one differently, then I really should go and do that for the hundreds of other interfaces with potentially thousands of methods to review and change.
Ok, got it
Describe the bug and how to reproduce
Incorrect:
Correct: