18 Jul
2011
18 Jul
'11
2:44 p.m.
Grazvydas Ignotas <notasas(a)gmail.com> writes:
You mean fake '.' and '..'?
Yes.
Do you have any suggestions how to track state between calls? I'm thinking about using global structure to track dev_t, ino_t and off_t (and maybe handle), and if any of those changes since last exit from the function consider it as a first call for this handle.
I don't think you can do that.
It looks like the best way would be to attach state to handle somehow (that would be dropped automatically on CloseHandle), but I failed to find a way to do so.
You can't do that either I'm afraid. It's a tricky problem. -- Alexandre Julliard julliard(a)winehq.org