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

Function ComError

source/script_com.cpp:965–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963
964
965ResultType ComError(HRESULT hr)
966{
967 ResultToken errorToken;
968 errorToken.SetResult(OK);
969 ComError(hr, errorToken);
970 return errorToken.Result();
971}
972
973void ComError(HRESULT hr, ResultToken &aResultToken, LPTSTR name, EXCEPINFO* pei)
974{

Callers 4

BIF_DECLFunction · 0.85
InvokeMethod · 0.85
SafeArrayInvokeMethod · 0.85
SafeArrayItemMethod · 0.85

Calls 3

SetResultMethod · 0.80
ResultMethod · 0.80
ErrorMethod · 0.80

Tested by

no test coverage detected