[DllImport("coredll.dll", SetLastError=true)]
static extern Int32 GetLastError();
Declare Function GetLastError Lib "coredll.dll" () As Int32
None.
None.
Please add some!
C#
Int32 lastError = GetLastError();
VB
Dim lastError As Int32
lastError = GetLastError()
Do you know one? Please contribute it!