Forráskód Böngészése

vlc/sandbox: add info about ReadFileEx

Alexandre Janniaux 6 éve
szülő
commit
7344c39d52
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      vlc_sandbox.md

+ 7 - 0
vlc_sandbox.md

@@ -307,6 +307,13 @@ structure.
 
 TODO: removing HANDLE from the IO port.
 
+`ReadFileEx` provide another kind of writing asynchronous IO, but still built
+upon this concept of completion. One can register an user-defined callback
+which will be casted at the end of the IO operation.
+
+This callback will get the ownership of the `OVERLAPPED` object and will be
+responsible for processing and releasing it.
+
 a lire
 https://opensource.googleblog.com/2010/01/libevent-20x-like-libevent-14x-only.html
 => easier to write a notify-to-completion than completion-to-notify wrapper.