Changeset 313 for trunk/Utilities/ShowHresult/NotifyIconWindow.h
- Timestamp:
- Aug 31, 2014, 1:21:21 AM (8 years ago)
- Location:
- trunk/Utilities/ShowHresult
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/ShowHresult
- Property svn:ignore
-
old new 4 4 *.user 5 5 *.aps 6 *.opensdf
-
- Property svn:ignore
-
trunk/Utilities/ShowHresult/NotifyIconWindow.h
r167 r313 30 30 #include <functiondiscoveryerror.h> 31 31 #include <infotech.h> 32 #include <naperror.h> 33 #include <pstore.h> 32 //#include <naperror.h> - merged with winerror.h in SDK 8.0 33 //#include <pstore.h> - missing in SDK 8.0 34 34 #include <sherrors.h> 35 35 #include <ShObjIdl.h> … … 519 519 public: 520 520 // CNotifyIconWindow 521 static ULONGLONG GetCommonControlsVersion() throw()521 static ULONGLONG GetCommonControlsVersion() 522 522 { 523 523 DWORD nMajorVersion, nMinorVersion; … … 525 525 return (ULONGLONG) ((nMajorVersion << 16) + nMinorVersion) << 32; 526 526 } 527 static ULONGLONG GetShellVersion() throw()527 static ULONGLONG GetShellVersion() 528 528 { 529 529 DWORD nMajorVersion, nMinorVersion; … … 542 542 return AtlLoadString(IDS_NOTIFYICON_DEFAULTTIPTITLE); 543 543 } 544 static DWORD GetDefaultInfoFlags() throw()544 static DWORD GetDefaultInfoFlags() 545 545 { 546 546 return NIIF_NONE; … … 557 557 } 558 558 } 559 static BOOL IsDecimal(TCHAR nCharacter) throw()559 static BOOL IsDecimal(TCHAR nCharacter) 560 560 { 561 561 return _tcschr(_T("0123456789"), nCharacter) != NULL; 562 562 } 563 static BOOL IsDecimal(const TCHAR* pszCharacters, SIZE_T nCount) throw()563 static BOOL IsDecimal(const TCHAR* pszCharacters, SIZE_T nCount) 564 564 { 565 565 for(SIZE_T nIndex = 0; nIndex < nCount; nIndex++) … … 568 568 return TRUE; 569 569 } 570 static BOOL IsDecimal(const TCHAR* pszCharacters) throw()570 static BOOL IsDecimal(const TCHAR* pszCharacters) 571 571 { 572 572 return IsDecimal(pszCharacters, _tcslen(pszCharacters)); 573 573 } 574 static BOOL IsHexadecimal(TCHAR nCharacter) throw()574 static BOOL IsHexadecimal(TCHAR nCharacter) 575 575 { 576 576 return _tcschr(_T("0123456789ABCDEFabcdef"), nCharacter) != NULL; 577 577 } 578 static BOOL IsHexadecimal(const TCHAR* pszCharacters, SIZE_T nCount) throw()578 static BOOL IsHexadecimal(const TCHAR* pszCharacters, SIZE_T nCount) 579 579 { 580 580 for(SIZE_T nIndex = 0; nIndex < nCount; nIndex++) … … 583 583 return TRUE; 584 584 } 585 static BOOL IsHexadecimal(const TCHAR* pszCharacters) throw()585 static BOOL IsHexadecimal(const TCHAR* pszCharacters) 586 586 { 587 587 return IsHexadecimal(pszCharacters, _tcslen(pszCharacters)); … … 761 761 return TRUE; 762 762 } 763 LRESULT OnDestroy() throw()763 LRESULT OnDestroy() 764 764 { 765 765 _pAtlModule->Unlock(); … … 845 845 return 0; 846 846 } 847 LRESULT OnNotifyIcon(UINT uMsg, WPARAM wParam, LPARAM lParam) throw()847 LRESULT OnNotifyIcon(UINT uMsg, WPARAM wParam, LPARAM lParam) 848 848 { 849 849 _A(wParam == m_NotifyIconData.uID); 850 850 return SendMessage((UINT) lParam); 851 851 } 852 LRESULT OnApplicationAbout(UINT, INT, HWND) throw()852 LRESULT OnApplicationAbout(UINT, INT, HWND) 853 853 { 854 854 CAboutDialog Dialog; … … 858 858 return 0; 859 859 } 860 LRESULT OnApplicationExit(UINT = 0, INT = ID_APP_EXIT, HWND = NULL) throw()860 LRESULT OnApplicationExit(UINT = 0, INT = ID_APP_EXIT, HWND = NULL) 861 861 { 862 862 PostQuitMessage(0);
Note: See TracChangeset
for help on using the changeset viewer.