GetLastError
C# Signature:
[DllImport("kernel32.dll")]
static extern uint GetLastError();
// GetLastError is save!C# Signature:
// You should never PInvoke to GetLastError. Call Marshal.GetLastWin32Error instead!VB Signature:
' You should never PInvoke to GetLastError. Call Marshal.GetLastWin32Error instead!Boo Signature:
[DllImport("kernel32.dll")]
def GetLastError() as int:
passNotes:
[DllImport("kernel32.dll", SetLastError = true)]
static extern bool CloseHandle(IntPtr hObject);Última actualización