STABLE14-windows-partially-restore-find-lana-by-name-20070227

find lana by name is used by the afs control panel to populate the
lana list box.  don't use the function to find by name.  just use
it to generate the list of all lana names.


(cherry picked from commit 561f8b742fceeed10e6f3d9639c96efb085ad2a9)
This commit is contained in:
Jeffrey Altman 2007-02-28 00:39:55 +00:00
parent f53e52b9f7
commit 729c790a9a

View File

@ -64,7 +64,6 @@ static const char *szNoFindLanaByName = "NoFindLanaByName";
#endif
static const char *szForceLanaLoopback = "ForceLanaLoopback";
#ifdef USE_FINDLANABYNAME
// Use the IShellFolder API to get the connection name for the given Guid.
static HRESULT lana_ShellGetNameFromGuidW(WCHAR *wGuid, WCHAR *wName, int NameSize)
{
@ -365,7 +364,6 @@ extern "C" LANAINFO * lana_FindLanaByName(const char *LanaName)
free(bindpaths);
return lanainfo;
}
#endif
extern "C" lana_number_t lana_FindLoopback(void)
{