UnmanagedFunctionPointerAttribute.SetLastError Campo
Definición
Indica que el destinatario de la llamada llamará a la función SetLastError
de la API de Windows antes de volver del método con atributos.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
Valor de campo
Comentarios
El SetLastError campo es de false
forma predeterminada, lo que significa que el llamador llama a SetLastError
.The SetLastError field is false
by default, which means the caller calls SetLastError
. Establezca este campo en true
para indicar que el destinatario llama a SetLastError
antes de volver del método con atributos.Set this field to true
to indicate that the callee calls SetLastError
before returning from the attributed method.
Para obtener más información, vea SetLastError.For more information, see SetLastError.