Hi all,
I'm trying to get a driver to notify an application of the occurrence
of a certain condition by doing SetEvent on a handle provided by the
application via a DeviceIoControl call. However, the SetEvent fails
with error code ERROR_INVALID_HANDLE.
I guess it has something to do with manipulating user space pointers
in kernel space but what is the correct way around this? Any ideas are
much appreciated.
Thanks,
Rickard