Changeset 131 for trunk/Utilities/ShowHresult/NotifyIconWindow.h
- Timestamp:
- Oct 11, 2012, 1:21:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/ShowHresult/NotifyIconWindow.h
r129 r131 525 525 sTitle = _T("Media Foundation"); 526 526 } 527 ////////////////////////////////////////////////////527 #pragma region Obsolete? 528 528 // NOTE: These are perhaps useless in Windows 7, but I am under impression they are helpful in earlier systems 529 529 else if(IsWs2Result(nResult, &sMessage)) … … 533 533 else if(IsWinInetResult(nResult, &sMessage)) 534 534 sTitle = _T("WinInet"); 535 //////////////////////////////////////////////////// 535 #pragma endregion 536 #pragma region Win32 Priority 537 else if(HRESULT_SEVERITY(nResult) == SEVERITY_ERROR && HRESULT_FACILITY(nResult) == FACILITY_WIN32 && (UINT) HRESULT_CODE(nResult) < 300) 538 { 539 sMessage = AtlFormatSystemMessage(nResult); 540 if(!LookupSystemIdentifier(nResult, sIdentifier)) 541 LookupHresultSystemIdentifier(nResult, sIdentifier); 542 if(!sMessage.IsEmpty() || !sIdentifier.IsEmpty()) 543 sTitle = _T("System"); 544 } 545 #pragma endregion 536 546 else if(IsD3dResult(nResult, &sMessage, &sIdentifier) || LookupD3dIdentifier(nResult, sIdentifier)) 537 547 sTitle = _T("DirectDraw/Direct3D");
Note: See TracChangeset
for help on using the changeset viewer.