MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / SetLastErrorCloseAndMaybeThrow

Method SetLastErrorCloseAndMaybeThrow

source/script.cpp:12722–12728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12720}
12721
12722void ResultToken::SetLastErrorCloseAndMaybeThrow(HANDLE aHandle, bool aError, DWORD aLastError)
12723{
12724 g->LastError = aLastError;
12725 CloseHandle(aHandle);
12726 if (aError)
12727 Win32Error(aLastError);
12728}
12729
12730
12731void Script::SetErrorStdOut(LPTSTR aParam)

Callers 1

script2.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected