Michal Zygmunt wants to create a system where multiple applications can have focus, with different users generating input and directing them at their target applications. Attempting to simulate this by posting input messages didn’t work. “Can you tell us maybe how SendInput is internally implemented so that we can use it to simulate only part of the actions (like without acquiring focus)?”
You can take advantage of the fact that the
OVERLAPPED associated with asynchronous I/O is
passed by address,
but there was some confusion about how this technique could
“work” when kernel mode has no idea that you are playing this trick.
Commenter S asks, “What happened to the return code from WinMain in a Windows 3.1 app?” After all, there was no GetExitCodeProcess function in 16-bit Windows.
Basically, the exit code vanished into the ether.
Unless you captured it.
The Toolhelp library provided a low-level hook into various parts of the kernel,
When you issue asynchronous I/O,
the completion function or the I/O completion port receives,
among other things, a pointer to the OVERLAPPED
structure that the I/O was originally issued against.
And that is your key to golden riches.
If you need to associate information with the I/O operation,
News flash: Sometimes things happen by mistake
why the SHCOLUMNINFO structure has 1-byte packing.
“Was the expectation that there would be so many columns
in a details view that the saving would be worthwhile?”
Hardly anything that clever or ingenious.
Yes, it’s another installment of I bet somebody got a really nice bonus for that feature. A customer had this question for the Windows 7 team:
Our program creates a notification icon, and we found that on Windows 7 it is hidden. It appears properly on all previous versions of Windows.
My flights to and from Beijing were on Hainan Airlines, a Chinese airline. One consequence of this is that Mandarin Chinese is the primary language of communication; English is a distant second. It also means that the in-flight movies are subtitled in Chinese,
Microspeak is not always about changing a word from a verb to a noun or changing a noun to a verb or even changing a noun into a verb and then back into a noun. Sometimes it’s about data compression.
This testing won’t inform RC,
Tanveer Badar asks why the file properties Advanced dialog shows two checkboxes (compression and encryption) even though NTFS supports only one or the other at a time. “Why not have two radio buttons instead of these silly check boxes?”
Actually, if you want radio buttons,
Single-use tickets purchased from subway vending machines are valid only on the day of purchase for use in that station. Do not buy your return ticket at the same time as your outbound ticket because it will not work. This detail is clearly explained on the ticket that you receive after you have paid for it.