How can I force a user to have a specific SID prefix, so that they go into a particular group? January 5, 2023 Jan 5, 2023 01/5/23 Raymond Chen The prefix doesn't define group membership.
Using perfect (and imperfect) forwarding to simplify C++ wrapper classes January 4, 2023 Jan 4, 2023 01/4/23 Raymond Chen Just call that other thing the same way you called this thing.
It rather involved being on the other side of this airtight hatchway: Gaining code execution from a Trojan horse January 3, 2023 Jan 3, 2023 01/3/23 Raymond Chen You already have code execution, so it's not surprising that you can gain code execution.
Opinionated notes on the Windows.Data.Json namespace January 2, 2023 Jan 2, 2023 01/2/23 Raymond Chen It's available if you need it, but there are some tricks and pitfalls, and you may very well have better options.
2022 year-end link clearance December 30, 2022 Dec 30, 2022 12/30/22 Raymond Chen Closing the book on another year.
When I create a waitable timer with a callback, do I have to wait alertably on that specific timer before the callback will run? December 30, 2022 Dec 30, 2022 12/30/22 Raymond Chen Any alertable wait will do.
How can I detect programmatically whether Windows is an N or KN version? December 29, 2022 Dec 29, 2022 12/29/22 Raymond Chen Don't check the version, just check the feature.
After importing a TLB, how do I convert from one type of _com_ptr_t to another? December 28, 2022 Dec 28, 2022 12/28/22 Raymond Chen Digging into the source code.
Why can’t I print when I boot Windows into audit mode? December 27, 2022 Dec 27, 2022 12/27/22 Raymond Chen It's not all there.
The worst-selling Microsoft software product of all time: OS/2 for the Mach 20 December 26, 2022 Dec 26, 2022 12/26/22 Raymond Chen Count 'em on one hand.