Changeset 131
- Timestamp:
- Oct 11, 2012, 1:21:24 PM (11 years ago)
- Location:
- trunk/Utilities/ShowHresult
- Files:
-
- 4 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"); -
trunk/Utilities/ShowHresult/ShowHresult_i.c
r128 r131 7 7 8 8 /* File created by MIDL compiler version 7.00.0555 */ 9 /* at Thu Oct 04 11:56:4620129 /* at Thu Oct 11 23:19:07 2012 10 10 */ 11 11 /* Compiler settings for ShowHresult.idl: -
trunk/Utilities/ShowHresult/ShowHresult_i.h
r128 r131 5 5 6 6 /* File created by MIDL compiler version 7.00.0555 */ 7 /* at Thu Oct 04 11:56:4620127 /* at Thu Oct 11 23:19:07 2012 8 8 */ 9 9 /* Compiler settings for ShowHresult.idl:
Note: See TracChangeset
for help on using the changeset viewer.