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
WNetCancelConnection2
..msdn    Add comment     W32 Constants      Translate this page
The WNetCancelConnection2 function cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected.
Code examples:
Mapping and disconnecting network drives
Declaration:
DWORD WNetCancelConnection2(
  LPCTSTR lpName,
  DWORD dwFlags,
  BOOL fForce
);
FoxPro declaration:
DECLARE INTEGER WNetCancelConnection2 IN mpr;
    STRING  lpName,;
    INTEGER dwFlags,;
    INTEGER fForce
Parameters:
lpName
[in] Pointer to a constant null-terminated string that specifies the name of either the redirected local device or the remote network resource to disconnect from.

dwFlags
[in] Connection type.

fForce
[in] Specifies whether the disconnection should occur if there are open files or jobs on the connection.
Return value:
If the function succeeds, the return value is NO_ERROR (0).
Word Index links for the WNetCancelConnection2 :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-02-18 19:25:40
Modified: 2003-02-18 19:27:31
Visited in last 7 days: 38
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.82.112.193)
17 sec.Function: 'GdipGetImageDecodersSize'
33 sec.Function: 'CreateEllipticRgn'
50 sec.Function: 'mmioClose'
1.12 min.Function: 'CeRegOpenKeyEx'
1.4 min.Function: 'SendARP'
1.68 min.Function: 'PeekMessage'
1.98 min.Function: 'GetProcessVersion'
2.25 min.Function: 'CreateMenu'
2.53 min.Function: 'IsWindow'
2.8 min.Function: 'WTSUnRegisterSessionNotification'
Google
Advertise here!