LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get PIDL

I am trying to use an ActiveX control that want a PIDL in addition to a path name (string). Does anyone know how to convert a pthname into a PIDL?
0 Kudos
Message 1 of 4
(3,088 Views)
Faraclas,

A CSIDL is used in conjunction with one of four shell functions, SHGetFolderLocation, SHGetFolderPath, SHGetSpecialFolderLocation, and SHGetSpecialFolderPath, to retrieve a special folder's pathname or item ID list (PIDL).
You can look at the documentation for the above shell functions at this link that allows to retrieve these informations (bottom of the page):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/Shell/reference/enums/csidl.asp

Regards,

Cyril Bouton
Applications Engineer
National Instruments
Cyril Bouton
Active LabVIEW Developper
0 Kudos
Message 2 of 4
(3,088 Views)
This link tells how to get the special folder's PIDL. I am interested in getting the PIDL of any arbitrary file or folder on my computer.
0 Kudos
Message 3 of 4
(3,088 Views)
Faraclas,

While this ressource didn't seem to help, I would strongly recommend to browse the Microsoft msdn site about this topic since they developped this technology:
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/pidl_ovw.asp?frame=true#pidl_walk

Cyril
Cyril Bouton
Active LabVIEW Developper
0 Kudos
Message 4 of 4
(3,088 Views)