[ros-bugs] [Bug 4609] Print Screen scancode
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Mon Jun 15 11:22:09 CEST 2009
http://www.reactos.org/bugzilla/show_bug.cgi?id=4609
--- Comment #2 from Aazz <aaz.izvr at gmail.com> 2009-06-15 11:22:08 CET ---
(From update of attachment 4072)
Index: keyboard.c
===================================================================
--- keyboard.c (revision 41398)
+++ keyboard.c (working copy)
@@ -857,6 +857,7 @@
PKBDTABLES KeyboardLayout,
BYTE Prefix)
{
+
DWORD ScanCode = 0, ModifierBits = 0;
DWORD i = 0;
DWORD BaseMapping = 0;
@@ -905,12 +906,29 @@
{
if( Prefix == 0xE0 )
{
+
+
+ /* snapshot code */
+ if(NtUserCallOneParam(0, ONEPARAM_ROUTINE_GETKEYBOARDTYPE )==4)
+ {
+
+ if(ScanCode == 0x37)
+ {
+ Msg->wParam=VK_SNAPSHOT;
+ }
+
+
/* ignore shift codes */
- if( ScanCode == 0x2A || ScanCode == 0x36 )
- {
- return;
- }
+ else if( ScanCode == 0x2A || ScanCode == 0x36 )
+ {
+
+ return;
+ }
+
+ }
+
VscVkTable = KeyboardLayout->pVSCtoVK_E0;
+
}
else if( Prefix == 0xE1 )
{
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Ros-bugs
mailing list