On Oct 22, 2020, at 6:40 AM, wdmaudiodev@xxxxxxxxxxxxxx wrote:
You asked about creating a device interface. I told you how to do that. It
Assuming you are not a KMDF driver,
you use IoRegisterDeviceInterface and IoSetDeviceInterfaceState.
It looks like a WDM driver can't create a Symbolic Link, or at least is
doesn't let me name it. IoRegisterDeviceInterface returns a symbolic link,
which kind of surprised me. I looked at IoCreateSymbolicLink, but remarks in
the docs say:
WDM drivers do not name device objects and therefore should not use this
routine. Instead, a WDM driver should call IoRegisterDeviceInterface
<https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-ioregisterdeviceinterface>
to set up a symbolic link.
I'm really confused.