Using Win32 functions in Visual FoxPro Image Gallery
Windows Networking
..msdn
NetGetJoinInformation
NetJoinDomain
NetUnjoinDomain
WNetAddConnection
WNetAddConnection2
WNetCancelConnection2
WNetCloseEnum
WNetConnectionDialog
WNetConnectionDialog1
WNetDisconnectDialog
WNetEnumResource
WNetGetConnection
WNetGetLastError
WNetGetNetworkInformation
WNetGetProviderName
WNetGetUniversalName
WNetGetUser
WNetOpenEnum
Code examples:
Enumerating network resources
WNetOpenEnum
..msdn    Add comment     W32 Constants      Translate this page
The WNetOpenEnum function starts an enumeration of network resources or existing connections. You can continue the enumeration by calling the WNetEnumResource function.
Code examples:
Enumerating network resources
Declaration:
DWORD WNetOpenEnum(
  DWORD dwScope,                // scope of enumeration
  DWORD dwType,                 // resource types to list
  DWORD dwUsage,                // resource usage to list
  LPNETRESOURCE lpNetResource,  // resource structure
  LPHANDLE lphEnum              // enumeration handle buffer
);
FoxPro declaration:
DECLARE INTEGER WNetOpenEnum IN mpr;
    INTEGER   dwScope,;
    INTEGER   dwType,;
    INTEGER   dwUsage,;
    INTEGER   lpNetResource,;
    INTEGER @ lphEnum
Parameters:
dwScope
[in] Specifies the scope of the enumeration.

dwType
[in] Specifies the resource types to enumerate.

dwUsage
[in] Specifies the resource usage type to enumerate.

lpNetResource
[in] Pointer to a NETRESOURCE structure that specifies the container to enumerate.

lphEnum
[out] Pointer to an enumeration handle that can be used in a subsequent call to WNetEnumResource.
Return value:
If the function succeeds, the return value is NO_ERROR.
Word Index links for the WNetOpenEnum :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-06-28 12:00:31
Modified: 2002-06-28 12:03:00
Visited in last 7 days: 22
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.163.210.170)
15 sec.Function: 'GetProfileString'
31 sec.Function: 'LocalAlloc'
46 sec.Function: 'GetSysColorBrush'
1 min.Function: 'RasPhonebookDlg'
1.23 min.Function: 'GetAdaptersInfo'
1.5 min.Function: 'CloseHandle'
1.77 min.Function: 'GetShellWindow'
2 min.Function: 'IcmpCloseHandle'
2.23 min.Function: 'GetSystemTimeAdjustment'
2.5 min.Function: 'InternetDial'
Google
Advertise here!