From 5a3ed0261050c0b39dafb104541aad6e385d00af Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 19 Jul 2008 12:26:09 +0000 Subject: * autoload.cc (WNetGetProviderNameA): Define. (WNetGetResourceParentA): Remove. * fhandler_netdrive.cc (struct net_hdls): New structure to keep WNet handles. Stored in dir->__handle throughout. (thread_netdrive): Rewrite to enumerate all servers in all accessible domains and workgroups. (fhandler_netdrive::readdir): Simplify toplevel code. Lowercase all server names in toplevel. (fhandler_netdrive::rewinddir): Close all WNet handles and free net_hdls structure. --- winsup/cygwin/autoload.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/autoload.cc') diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index ac1bf7104..f1a4abd0c 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -438,8 +438,8 @@ LoadDLLfuncEx (waveInStart, 4, winmm, 1) LoadDLLfuncEx (waveInReset, 4, winmm, 1) LoadDLLfuncEx (waveInClose, 4, winmm, 1) +LoadDLLfunc (WNetGetProviderNameA, 12, mpr) LoadDLLfunc (WNetGetResourceInformationA, 16, mpr) -LoadDLLfunc (WNetGetResourceParentA, 12, mpr) LoadDLLfunc (WNetOpenEnumA, 20, mpr) LoadDLLfunc (WNetEnumResourceA, 16, mpr) LoadDLLfunc (WNetCloseEnum, 4, mpr) -- cgit v1.2.3