Changeset 21885 for branches/gcc-kmk/src/user32/oslibmsgtranslate.cpp
- Timestamp:
- Dec 15, 2011, 11:24:47 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/user32/oslibmsgtranslate.cpp
r21811 r21885 95 95 { 96 96 ULONG ret; 97 BYTEwinKey;97 UCHAR winKey; 98 98 99 99 switch (pmScan) … … 113 113 } 114 114 115 KeyTranslatePMScanToWinVKey(ret, FALSE, (PBYTE)&winKey, NULL, NULL);115 KeyTranslatePMScanToWinVKey(ret, FALSE, &winKey, NULL, NULL); 116 116 return winKey; 117 117 … … 760 760 761 761 BOOL fWinExtended; 762 BYTE bWinVKey;762 UCHAR uchWinVKey; 763 763 WORD wWinScan; 764 764 … … 775 775 // for Korean 776 776 case VK_DBE_HANJA : 777 bWinVKey = 0x19;777 uchWinVKey = 0x19; 778 778 break; 779 779 780 780 case VK_DBE_HANGEUL : 781 bWinVKey = 0x15;781 uchWinVKey = 0x15; 782 782 break; 783 783 784 784 case VK_DBE_JAMO : 785 bWinVKey = 0;785 uchWinVKey = 0; 786 786 break; 787 787 788 788 // for Japan 789 789 case VK_DBE_KATAKANA : 790 bWinVKey = 0;790 uchWinVKey = 0; 791 791 break; 792 792 793 793 case VK_DBE_HIRAGANA : 794 bWinVKey = 0;794 uchWinVKey = 0; 795 795 break; 796 796 797 797 case VK_DBE_SBCSCHAR : 798 bWinVKey = 0;798 uchWinVKey = 0; 799 799 break; 800 800 801 801 case VK_DBE_DBCSCHAR : 802 bWinVKey = 0;802 uchWinVKey = 0; 803 803 break; 804 804 805 805 case VK_DBE_SBCSDBCSCHAR : 806 bWinVKey = 0;806 uchWinVKey = 0; 807 807 break; 808 808 809 809 case VK_DBE_ROMAN : 810 bWinVKey = 0;810 uchWinVKey = 0; 811 811 break; 812 812 813 813 // for PRC-Chinese 814 814 case VK_DBE_HANZI : 815 bWinVKey = 0;815 uchWinVKey = 0; 816 816 break; 817 817 818 818 // for Taiwan 819 819 case VK_DBE_TSANGJYE : 820 bWinVKey = 0;820 uchWinVKey = 0; 821 821 break; 822 822 823 823 case VK_DBE_PHONETIC : 824 bWinVKey = 0;824 uchWinVKey = 0; 825 825 break; 826 826 827 827 case VK_DBE_CONV : 828 bWinVKey = 0;828 uchWinVKey = 0; 829 829 break; 830 830 831 831 case VK_DBE_NOCONV : 832 bWinVKey = 0;832 uchWinVKey = 0; 833 833 break; 834 834 … … 838 838 case 949 : // Korea 839 839 case 1361 : 840 bWinVKey = 0x15;840 uchWinVKey = 0x15; 841 841 break; 842 842 … … 850 850 case 950 : // Taiwan 851 851 default : 852 bWinVKey = 0;852 uchWinVKey = 0; 853 853 } 854 854 break; … … 857 857 KeyTranslatePMScanToWinVKey(usPMScanCode, 858 858 FALSE, 859 & bWinVKey,859 &uchWinVKey, 860 860 &wWinScan, 861 861 &fWinExtended); 862 862 } 863 863 864 winMsg->wParam = bWinVKey;864 winMsg->wParam = uchWinVKey; 865 865 } 866 866 else
Note:
See TracChangeset
for help on using the changeset viewer.