How to get HRESULT instead exception from a COM-method
See the question and my original answer on StackOverflowJust use PreserveSig attribute
[ComImport, Guid("c6e13370-30ac-11d0-a18c-00a0c9118956"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAMCameraControl
{
[PreserveSig]
int GetRange(...)
...
}