in PPLGuardDll/dllexploit.cpp [165:170]
void LogLastError(LPCWSTR pwszFunctionName)
{
DWORD dwLastError = GetLastError();
if (dwLastError != ERROR_SUCCESS)
LogToConsole(L"Function '%ws' returned error code %d - %ws\n", pwszFunctionName, dwLastError, _com_error(HRESULT_FROM_WIN32(dwLastError)).ErrorMessage());
}