Hi,
I am new to the Windows driver development. I am writing a
filter driver for an USB mouse using DDK's sample code.
I want to have the user application to communicate with
this driver.
In the driver, I have registered the interface using a GUID
and enabled it.
From the application, I will enumerate through the device
interfaces and get the device path.
I am using this device path to "CreateFile".
file = CreateFile ( deviceInterfaceDetailData->DevicePath,
GENERIC_READ | GENERIC_WRITE,
0,
NULL, // no SECURITY_ATTRIBUTES
structure
OPEN_EXISTING, // No special create
flags
0, // No special attributes
NULL);/*
Unfortunately this call failed with error 5 (Access is denied).
Can anybody tell me what might be the problem. Am I missing
anything here.
TIA,
Raghav