Can anyone help me in passing handle values to a function as a variable.
This is to get the paths of all the special folders.
The undernoted code works perfectly well:
Private Declare Function GetFolderPath Lib "shfolder.dll" _
Alias "SHGetFolderPathA" _
(ByVal hwndOwner As Long, _...