> Thanx Ladislav. But why does ti work on WXP and WNET?
Does it really work ?
In NtSetInformationFile,the IoStatus is verified if PreviousMode
is set to UserMode. If the PreviousMode is set to KernelMode,
the IoStatusBlock is accessed without probe, but it’s protected
by try-except block and if an exception occurs, its status
is returned as the result of the entire function.
So according to that, I would say it does not work in XP either
L.