Set to true to indicate that the caller may call GetLastError to determine if an error occurred while executing the method. The default is false.
[Visual Basic] Public SetLastError As Boolean [C#] public bool SetLastError; [C++] public: bool SetLastError; [JScript] public var SetLastError : Boolean;
DllImportAttribute Class | DllImportAttribute Members | System.Runtime.InteropServices Namespace