API Reference > Extension Classes > Windows Classes > ErrorCtx Class > ErrorCtx Methods > ErrorCtx::checkWin32 Method
ErrorCtx::checkWin32 Method
Syntax
C++
static void checkWin32(BOOL success);

Throws an error with the Win32LastError code if and only if success is false.

Calls fire(HRESULT_FROM_WIN32(::GetLastError())) if and only if success is false.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.