Dec 18, 2023 3 0 If the RegisterClass function takes ownership of the custom background brush, why is it leaking? Raymond Chen It takes ownership only on success.
Dec 15, 2023 2 0 How do I specify an optional string parameter to a Windows Runtime method? Raymond Chen Strings are sort of reference but sort of values.
Dec 14, 2023 1 0 How do I specify an optional parameter to a Windows Runtime method? Raymond Chen There is no way to express explicit optionality, but there are implicit ways.
Dec 13, 2023 0 1 How can I work around the absence of default parameters in the Windows Runtime? Raymond Chen You can fake it with overloads.
Dec 12, 2023 4 3 What happens if I define one environment variable in terms of the value of another environment variable? Raymond Chen Only certain types of dependencies are supported.
Dec 11, 2023 12 5 The mysterious second parameter to the x86 ENTER instruction Raymond Chen For an ABI that probably nobody uses.
Dec 8, 2023 6 2 A simpler version of the task sequencer that doesn’t promise fairness Raymond Chen Just let a kernel object control the access.
Dec 7, 2023 1 1 In C++, how can I make a default parameter be the this pointer of the caller? Raymond Chen Again, you can't, but you can fake it.
Dec 6, 2023 2 3 In C++, how can I make a member function default parameter depend on this? Raymond Chen You can't, but you can fake it.