T
Tony Johansson
Hi
The doc says the following text within "". Does this text mean that if an
error occur and this property is set to false an exception is throw from the
Windows32 API ?
"This field indicates whether unmanaged methods that have HRESULT or retval
return values are directly translated or automatically converted to
exceptions.
True: The method returns a value that contains the HRESULT.
False: The method automatically converts HRESULT or retval values to
exceptions.
When you set the PreserveSig field to False, the resulting method signature
contains a void return type instead of an integer (HRESULT) return type.
The default value for this field is True."
The doc says the following text within "". Does this text mean that if an
error occur and this property is set to false an exception is throw from the
Windows32 API ?
"This field indicates whether unmanaged methods that have HRESULT or retval
return values are directly translated or automatically converted to
exceptions.
True: The method returns a value that contains the HRESULT.
False: The method automatically converts HRESULT or retval values to
exceptions.
When you set the PreserveSig field to False, the resulting method signature
contains a void return type instead of an integer (HRESULT) return type.
The default value for this field is True."