NdisRegisterDeviceEx() and CreateFile() security settings.
- From: "matt_sykes" <zzebowa@xxxxxxxxxxx>
- Date: 30 Jan 2007 07:56:51 -0800
Hi all
Ndis 6 and Vista...
I am using NdisRegisterDeviceEx() with as SDDL of "D:P(A;;GA;;;SY)
(A;;GA;;;BA)(A;;GRGW;;;BU)(A;;GRGW;;;WD)" and it returns
STATUS_SUCCESS. With a symboliclinks viewer I can see my device.
But, when I try to open it with CreateFile() is using GENERIC_READ |
GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL I get the error: 'The
request is not supported'.
I have tried it with a 0 SDDL too with the same result.
I am logged in as Administrator but this needs to work for users too.
The old function, NdisRegisterDevice() works on Vista with my Ndis 5.1
driver.
Doeas anyone have any ideas? I looked at the netvmini code that ships
with the 6000 DDK and dont seed any reason for my code to fail.
Thanks in advance for any suggestions on this.
.
- Follow-Ups:
- Re: NdisRegisterDeviceEx() and CreateFile() security settings.
- From: Gianluca Varenni
- Re: NdisRegisterDeviceEx() and CreateFile() security settings.
- Prev by Date: Re: hInstance field in PROPSHEETPAGE structure: MSDN doc not correct (
- Next by Date: Re: NdisRegisterDeviceEx() and CreateFile() security settings.
- Previous by thread: Re: hInstance field in PROPSHEETPAGE structure: MSDN doc not correct (
- Next by thread: Re: NdisRegisterDeviceEx() and CreateFile() security settings.
- Index(es):