แก้ไข

แชร์ผ่าน


UnmanagedFunctionPointerAttribute.SetLastError Field

Definition

Indicates whether the callee calls the SetLastError Windows API function before returning from the attributed method.

public: bool SetLastError;
public bool SetLastError;
val mutable SetLastError : bool
Public SetLastError As Boolean 

Field Value

Remarks

The 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 SetLastError.

Applies to

See also