New function in Vista - SHGetPathFromIDListEx()

Hello Forum,

I want to use SHGetPathFromIDListEx(), for gettig path information from navigation dialog in the localised text form.

In MSDN,
SHGetPathFromIDListEx(PCIDLIST_ABSOLUTE pidl,
PWSTR pszPath,
DWORD cchPath,
GPFIDL_FLAGS uOpts
) function is mentioned for Vista support insteade of SHGetPathFromIDList().

I am using this function, but unable to get the 4th parameter. “GPFIDL_FLAGS uOpts”

Can anybody help me out for usage of this function?

You can see the information for this function in this link :
http://msdn2.microsoft.com/en-us/library/aa969047.aspx

Thanks in advance.

-Manu

From ShlObj.H:

typedef enum tagGPFIDL_FLAGS
{
GPFIDL_DEFAULT = 0x0000, // normal Win32 file name, servers
and drive roots included
GPFIDL_ALTNAME = 0x0001, // short file name
GPFIDL_UNCPRINTER = 0x0002, // include UNC printer names too
(non file system item)
};

>> xxxxx@mindtree.com 2007-03-30 11:35 >>>
Hello Forum,

I want to use SHGetPathFromIDListEx(), for gettig path information from
navigation dialog in the localised text form.

In MSDN,
SHGetPathFromIDListEx(PCIDLIST_ABSOLUTE pidl,
PWSTR pszPath,
DWORD cchPath,
GPFIDL_FLAGS uOpts
) function is mentioned for Vista support insteade of
SHGetPathFromIDList().

I am using this function, but unable to get the 4th parameter.
“GPFIDL_FLAGS uOpts”

Can anybody help me out for usage of this function?

You can see the information for this function in this link :
http://msdn2.microsoft.com/en-us/library/aa969047.aspx

Thanks in advance.

-Manu


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer