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:
Mapping and disconnecting network drives
Retrieving the name of the network resource associated with a local device
WNetGetConnection
..msdn    Add comment     W32 Constants      Translate this page
The WNetGetConnection function retrieves the name of the network resource associated with a local device.
Code examples:
Mapping and disconnecting network drives
Retrieving the name of the network resource associated with a local device
Declaration:
DWORD WNetGetConnection(
  LPCTSTR lpLocalName,  // local name
  LPTSTR lpRemoteName,  // buffer for remote name
  LPDWORD lpnLength     // buffer size
);
FoxPro declaration:
DECLARE INTEGER WNetGetConnection IN mpr;
    STRING    lpLocalName,;
    STRING  @ lpRemoteName,;
    INTEGER @ lpnLength
Parameters:
lpLocalName
[in] Pointer to a constant null-terminated string that specifies the name of the local device to get the network name for.

lpRemoteName
[out] Pointer to a null-terminated character string buffer that receives the remote name used to make the connection.

lpnLength
[in/out] Pointer to a variable that specifies the size, in characters, of the buffer pointed to by the lpRemoteName parameter.
Return value:
If the function succeeds, the return value is NO_ERROR (0).
Word Index links for the WNetGetConnection :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-06-28 12:21:26
Modified: 2002-06-28 12:22:51
Visited in last 7 days: 26
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.196.72.162)
13 sec.Function: 'FtpGetFileSize'
25 sec.Function: 'GetObject'
39 sec.Function: 'CountClipboardFormats'
52 sec.Function: 'mmioRead'
1.07 min.Function: 'CeCreateDatabase'
1.25 min.
Function group: 'GDI+ Graphics'
1.47 min.Function: 'GetVolumeNameForVolumeMountPoint'
1.68 min.Function: 'NetUserChangePassword'
1.9 min.Function: 'InternetCloseHandle'
2.08 min.Function: 'RealDriveType'
Google
Advertise here!