MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / DirList_GetLongPathName

Function DirList_GetLongPathName

src/Dlapi.c:887–898  ·  view source on GitHub ↗

============================================================================= DirList_GetLongPathName() Get long pathname for currently displayed directory

Source from the content-addressed store, hash-verified

885// Get long pathname for currently displayed directory
886//
887BOOL 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected