Changeset 336 for branches/branch-1-0/src
- Timestamp:
- Sep 30, 2006, 5:39:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1-0/src/helpers/winh.c
r293 r336 19 19 20 20 /* 21 * Copyright (C) 1997-200 2Ulrich Mller.21 * Copyright (C) 1997-2006 Ulrich Mller. 22 22 * This file is part of the "XWorkplace helpers" source package. 23 23 * This is free software; you can redistribute it and/or modify … … 4712 4712 * 4713 4713 *@@added V0.9.1 (99-12-18) [umoeller] 4714 *@@changed V1.0.6 (2006-09-30) [pr]: Set Keyboard LEDs to match @@fixes 831 4714 4715 */ 4715 4716 … … 4747 4748 { 4748 4749 SHIFTSTATE ShiftState; 4750 USHORT usLEDState; 4749 4751 ULONG DataLen = sizeof(SHIFTSTATE); 4750 4752 … … 4762 4764 &ShiftState, DataLen, &DataLen, 4763 4765 NULL, 0L, NULL); 4766 4767 // XWP V1.0.6 (2006-09-30) [pr]: Set Keyboard LEDs to match @@fixes 831 4768 usLEDState = (ShiftState.fsState & (SCROLLLOCK_ON | NUMLOCK_ON | CAPSLOCK_ON)) >> 4; 4769 DataLen = sizeof(usLEDState); 4770 DosDevIOCtl(hKbd, IOCTL_KEYBOARD, KBD_ALTERKBDLED, 4771 &usLEDState, DataLen, &DataLen, 4772 NULL, 0L, NULL); 4773 4764 4774 // now close OS/2 keyboard driver 4765 4775 DosClose(hKbd); 4766 4776 } 4767 return;4768 4777 } 4769 4778
Note:
See TracChangeset
for help on using the changeset viewer.