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
WNetEnumResource
..msdn    Add comment     W32 Constants      Translate this page
The WNetEnumResource function continues an enumeration of network resources that was started by a call to the WNetOpenEnum function.
Code examples:
Enumerating network resources
Declaration:
DWORD WNetEnumResource(
  HANDLE hEnum,          // handle to enumeration
  LPDWORD lpcCount,      // entries to list
  LPVOID lpBuffer,       // buffer
  LPDWORD lpBufferSize   // buffer size
);
FoxPro declaration:
DECLARE INTEGER WNetEnumResource IN mpr;
    INTEGER   hEnum,;
    INTEGER @ lpcCount,;
    STRING  @ lpBuffer,;
    INTEGER @ lpBufferSize
Parameters:
hEnum
[in] Specifies a handle that identifies an enumeration instance. This handle must be returned by the WNetOpenEnum function.

lpcCount
[in/out] Pointer to a variable specifying the number of entries requested. If the number requested is 1, the function returns as many entries as possible.

lpBuffer
[out] Pointer to the buffer that receives the enumeration results. The results are returned as an array of NETRESOURCE structures.

lpBufferSize
[in/out] Pointer to a variable that specifies the size, in bytes, of the lpBuffer parameter.
Return value:
If the function succeeds, the return value is one of the following values: NO_ERROR, ERROR_NO_MORE_ITEMS.
Word Index links for the WNetEnumResource :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-06-28 12:04:45
Modified: 2002-06-28 12:07:03
Visited in last 7 days: 14
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.79.128)
3 sec.Function: 'CreateWaitableTimer'
4 sec.Function: 'FindNextVolume'
6 sec.
Function group: 'Mouse Input'
10 sec.Function: 'GdipBitmapSetResolution'
11 sec.Function: 'StretchDIBits'
14 sec.Function: 'PathFindExtension'
16 sec.Function: 'GetBoundsRect'
19 sec.Function: 'RegEnumValue'
22 sec.Function: 'GetSystemTimeAdjustment'
25 sec.Function: 'GetFileNameFromBrowse'
Google
Advertise here!