SHGetPathFromIDList

SHGetPathFromIDList (Compact 2013)

3/28/2014

This function converts an item identifier list to a file system path.


WINSHELLAPI BOOL WINAPI SHGetPathFromIDList( 
  LPCITEMIDLIST pidl, 
  LPSTR pszPath 
);

pidl

[in] Pointer to an item identifier list that specifies a file or directory location relative to the root of the namespace (the desktop).

pszPath

[out] Pointer to a buffer to receive the file system path. This buffer must be at least MAX_PATH characters in size.

TRUE indicates success. FALSE indicates failure.

If the location specified by the pidl parameter is not part of the file system, this function will fail.

Header

shellapi.h

Library

ceshell.lib

Show:
© 2016 Microsoft