I am not sure to have understood your request, but...
the function QueryDosDevice can retrieve the ntdevicename from a
dosdevicename, or the full list of all ntdevicenames. So if you have a
dosdevice name you can get the ntdevicename directly, otherwise, you can
obtain the full list and scan it, until you find the searched one ntdevice.
To create and remove symbolic links you can use the function:
DefineDosDevice.
I hope to be useful.
Roberto
"eBoy" <> ha scritto nel messaggio
news:7e64e48e-66ad-48b3-94cd-...
> HI,
>
> How I get the symbolic name from a device name by WDF macro or APIs ?
>
> My client driver can get a device Name form bus driver, but I don't
> know how to get
> the symbolic name by WDF.
>
> Thank you.
|