Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.
The UnmanagedFunctionPointerAttribute.SetLastError field is false by default, which means the caller calls SetLastError. Set this field to true to indicate that the callee calls SetLastError before returning from the attributed method.
For more information, see DllImportAttribute.SetLastError.