I have written a NDIS IM device driver and I used IOCTRL
to communicate between my user mode app and the device
driver. It works fine when logged on as Administrator but
createfile fails (access denied) when logged on as
limited user. Anyone know how to get around this?
I called create file with the following attributes.
CreateFile
(TEXT"\\\\.\\MyDriver"),
GENERIC_WRITE | GENERIC_READ, 0, 0,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL |FILE_FLAG_OVERLAPPED, 0);
Is this to do with how I installed the driver or the way
I called createfile?