Optimizing code to darken a bitmap, part 2 March 8, 2022 Mar 8, 2022 03/8/22 Raymond Chen Exploiting parallel arithmetic.
Optimizing code to darken a bitmap, part 1 March 7, 2022 Mar 7, 2022 03/7/22 Raymond Chen Starting with the basics.
If the slim reader/writer lock (SRWLOCK) doesn’t remember who the shared lock owner is, does that mean it’s okay to acquire it recursively? March 4, 2022 Mar 4, 2022 03/4/22 Raymond Chen No, but you sort of knew that deep down.
Filtering out fake keyboards from the GetRawInputDeviceList function March 3, 2022 Mar 3, 2022 03/3/22 Raymond Chen Maybe look to see if it has any keys.
How can I detect whether the system has a keyboard attached? On the GetRawInputDeviceList function March 2, 2022 Mar 2, 2022 03/2/22 Raymond Chen You can enumerate the input devices and see if there's a keyboard.
How does Windows decide what instructions to provide for unlocking the PC? March 1, 2022 Mar 1, 2022 03/1/22 Raymond Chen It sniffs around at your hardware capabilities.