Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: WDF to get the symbolic Name

Reply
Thread Tools Display Modes

Re: WDF to get the symbolic Name

 
 
Roberto Agostino
Guest
Posts: n/a

 
      06-13-2010
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.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
symbolic names for multiple instances of devices Mark McDougall Windows Vista Drivers 11 04-23-2010 07:21 AM
symbolic link not working via share ? tonyb61 Windows Server 1 02-28-2010 09:02 PM
Directory symbolic link not recognized as folder in open file dial Bjorn Windows Vista File Management 3 11-25-2007 05:55 PM
How to resolve symbolic links in code? MueMeister Windows Vista File Management 1 12-06-2006 01:25 AM
Symbolic Links Philip Windows Vista General Discussion 2 04-12-2006 06:50 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59