SetLastErrorEx (user32)
Last changed: -166.20.224.12

.
Summary

C# Signature:

[DllImport("user32.dll", SetLastError = true)]
static extern void SetLastErrorEx(uint dwErrCode, uint dwType);

User-Defined Types:

None.

Notes:

If the SetLastError DllImport flag is not set true, the error code will not be set.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation