get-last-win32-error (proc)
public {get-last-win32-error}:(String, int)
Package: CURL.LANGUAGE.DLL-INTERFACE-LOW

Retrieve last Windows error message and code.

Description

On Windows, looks up the last error code and associated message using the Windows GetLastError and FormatMessage functions.

On other platforms, return "" and 0.