Therefore I implemented all the MiniportXxx functions of the connectionless miniport driver using NDIS 5.1.
Now I would like to call from user mode a specified function from driver(get_time), but on Windows it seems that I could not use CreateFile on a network device.
> …on Windows it seems that I could not use CreateFile on a network device.
Sure you can, as long as this “network device” is a standalone control device that does not participate in the network stack, as far as NDIS is concerned. The very purpose of this device is to allow non-NDIS components (including UM code) to access NIC that miniport driver manages. Check NdisMRegisterDevice() for more info…
How I can do this ?
You have 2 options - either via standalone device the way I explained above, or by using WMI…