Win32 internals question: is the kernel assumed to increment the reference count of a HANDLE during overlapped I/O, such that the "correct" time to CloseHandle is after all I/O is _issued_ rather than completed? Or is it not incremented, so the CloseHandle must be deferred?
No, I'm talking about hFile. Assume you want to issue a write, and you'll get notified later (via completion routine of any kind, windows message, whatever). If you do CreateFile()/WriteFileEx()/CloseHandle() with overlapped IO, does the overlap IO still happen?