getlasterror (user32)
Last changed: -69.157.55.74

.
Summary
TODO - a short description

C# Signature:

[DllImport("kernel32.dll", SetLastError=true)]
static extern uint GetLastError(TODO);

VB.Net Signature:

Use Runtime.InteropServices.Marshal.GetLastWin32Error()

VB Signature:

Declare Function GetLastError Lib "kernel32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

See http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/9df01d21-8eb3-4733-9bc7-009ab52fda2d/

Tips & Tricks:

in C# use instead:

Marshal.GetLastWin32Error()

List of error codes: https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes

Sample Code:sh

Please add some!

Documentation