It rather involved being on the other side of this airtight hatchway: Spoofing another program December 20, 2023 Dec 20, 2023 12/20/23 Raymond Chen You already had the power to do it yourself.
If the RegisterClass function takes ownership of the custom background brush, why is it leaking? December 18, 2023 Dec 18, 2023 12/18/23 Raymond Chen It takes ownership only on success.
How do I specify an optional string parameter to a Windows Runtime method? December 15, 2023 Dec 15, 2023 12/15/23 Raymond Chen Strings are sort of reference but sort of values.
How do I specify an optional parameter to a Windows Runtime method? December 14, 2023 Dec 14, 2023 12/14/23 Raymond Chen There is no way to express explicit optionality, but there are implicit ways.
How can I work around the absence of default parameters in the Windows Runtime? December 13, 2023 Dec 13, 2023 12/13/23 Raymond Chen You can fake it with overloads.
The mysterious second parameter to the x86 ENTER instruction December 11, 2023 Dec 11, 2023 12/11/23 Raymond Chen For an ABI that probably nobody uses.
A simpler version of the task sequencer that doesn’t promise fairness December 8, 2023 Dec 8, 2023 12/8/23 Raymond Chen Just let a kernel object control the access.
In C++, how can I make a default parameter be the this pointer of the caller? December 7, 2023 Dec 7, 2023 12/7/23 Raymond Chen Again, you can't, but you can fake it.
In C++, how can I make a member function default parameter depend on this? December 6, 2023 Dec 6, 2023 12/6/23 Raymond Chen You can't, but you can fake it.
What is a static chain pointer in the context of calling convention ABI? December 4, 2023 Dec 4, 2023 12/4/23 Raymond Chen Buried in the System V Application Binary Interface.