I set a symbolic link like WdfDeviceCreateSymbolicLink with a name \DosDevices\mydriver, and that works fine.
If I do "del \\.\mydriver\somefile" from a command prompt, what IRPs does my driver get? Or doesn't that question make sense on any level because my driver is not a filesystem? (maybe I'm thinking too Linux
I've browsed the docs for IRP_MJ_DELETE etc but nothing like that exists so I'm wondering if a delete operation is only a filesystem concept.
I want to have the usermode component of my driver open a certain path, eg "\\.\mydriver\pool\node", and the resulting entity will be persistent (eg to allow for a usermode crash and a reconnection without having to tear everything down internally), but if usermode actually wants to tear down the resulting entity, a delete operation makes some conceptual sense to me.
Otherwise I'll just do it all with IOCTL's.