Add Win32.LastError helpers

Gets and sets last error