============================================================================= DirList_GetLongPathName() Get long pathname for currently displayed directory
| 885 | // Get long pathname for currently displayed directory |
| 886 | // |
| 887 | BOOL DirList_GetLongPathName(HWND hwnd,LPWSTR lpszLongPath) |
| 888 | { |
| 889 | WCHAR tch[MAX_PATH]; |
| 890 | LPDLDATA lpdl = (LPVOID)GetProp(hwnd,pDirListProp); |
| 891 | if (SHGetPathFromIDList(lpdl->pidl,tch)) |
| 892 | { |
| 893 | lstrcpy(lpszLongPath,tch); |
| 894 | return(TRUE); |
| 895 | } |
| 896 | else |
| 897 | return(FALSE); |
| 898 | } |
| 899 | |
| 900 | |
| 901 |
nothing calls this directly
no outgoing calls
no test coverage detected