Hello,
When I open the driver:
FDeviceHandle := CreateFile( pDev.sAddress,
GENERIC_WRITE or GENERIC_READ ,
FILE_SHARE_WRITE or FILE_SHARE_READ,
nil,
OPEN_EXISTING,
0,
0
);
How can I see (in the driver) with what attributes the driver is opened?
I want to know if it’s with only GENERIC_READ or with both GENERIC_READ
and GENERIC_WRITE.
Thanks
Marten