Changeset 21916 for trunk/src/user32/oslibmsgtranslate.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/user32/oslibmsgtranslate.cpp
r21341 r21916 53 53 static MSG doubleClickMsg = {0}; 54 54 55 extern UINT WINAPI GetACP(void); // from winnls.h 55 extern "C" UINT WINAPI GetACP(void); // from winnls.h 56 extern "C" UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat); 56 57 57 58 //For wheel mouse translation … … 94 95 { 95 96 ULONG ret; 96 BYTEwinKey;97 UCHAR winKey; 97 98 98 99 switch (pmScan) … … 112 113 } 113 114 114 KeyTranslatePMScanToWinVKey(ret, FALSE, (PBYTE)&winKey, NULL, NULL);115 KeyTranslatePMScanToWinVKey(ret, FALSE, &winKey, NULL, NULL); 115 116 return winKey; 116 117 … … 759 760 760 761 BOOL fWinExtended; 761 BYTE bWinVKey;762 UCHAR uchWinVKey; 762 763 WORD wWinScan; 763 764 … … 774 775 // for Korean 775 776 case VK_DBE_HANJA : 776 bWinVKey = 0x19;777 uchWinVKey = 0x19; 777 778 break; 778 779 779 780 case VK_DBE_HANGEUL : 780 bWinVKey = 0x15;781 uchWinVKey = 0x15; 781 782 break; 782 783 783 784 case VK_DBE_JAMO : 784 bWinVKey = 0;785 uchWinVKey = 0; 785 786 break; 786 787 787 788 // for Japan 788 789 case VK_DBE_KATAKANA : 789 bWinVKey = 0;790 uchWinVKey = 0; 790 791 break; 791 792 792 793 case VK_DBE_HIRAGANA : 793 bWinVKey = 0;794 uchWinVKey = 0; 794 795 break; 795 796 796 797 case VK_DBE_SBCSCHAR : 797 bWinVKey = 0;798 uchWinVKey = 0; 798 799 break; 799 800 800 801 case VK_DBE_DBCSCHAR : 801 bWinVKey = 0;802 uchWinVKey = 0; 802 803 break; 803 804 804 805 case VK_DBE_SBCSDBCSCHAR : 805 bWinVKey = 0;806 uchWinVKey = 0; 806 807 break; 807 808 808 809 case VK_DBE_ROMAN : 809 bWinVKey = 0;810 uchWinVKey = 0; 810 811 break; 811 812 812 813 // for PRC-Chinese 813 814 case VK_DBE_HANZI : 814 bWinVKey = 0;815 uchWinVKey = 0; 815 816 break; 816 817 817 818 // for Taiwan 818 819 case VK_DBE_TSANGJYE : 819 bWinVKey = 0;820 uchWinVKey = 0; 820 821 break; 821 822 822 823 case VK_DBE_PHONETIC : 823 bWinVKey = 0;824 uchWinVKey = 0; 824 825 break; 825 826 826 827 case VK_DBE_CONV : 827 bWinVKey = 0;828 uchWinVKey = 0; 828 829 break; 829 830 830 831 case VK_DBE_NOCONV : 831 bWinVKey = 0;832 uchWinVKey = 0; 832 833 break; 833 834 … … 837 838 case 949 : // Korea 838 839 case 1361 : 839 bWinVKey = 0x15;840 uchWinVKey = 0x15; 840 841 break; 841 842 … … 849 850 case 950 : // Taiwan 850 851 default : 851 bWinVKey = 0;852 uchWinVKey = 0; 852 853 } 853 854 break; … … 856 857 KeyTranslatePMScanToWinVKey(usPMScanCode, 857 858 FALSE, 858 & bWinVKey,859 &uchWinVKey, 859 860 &wWinScan, 860 861 &fWinExtended); 861 862 } 862 863 863 winMsg->wParam = bWinVKey;864 winMsg->wParam = uchWinVKey; 864 865 } 865 866 else … … 1115 1116 case WM_RENDERFMT: 1116 1117 winMsg->message = WINWM_RENDERFORMAT; 1117 extern UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat);1118 1118 winMsg->wParam = (UINT)clipboardPMToOdinFormat((ULONG)os2Msg->mp1); 1119 1119 if (!winMsg->wParam)
Note:
See TracChangeset
for help on using the changeset viewer.