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:
Retrieving a universal form for the drive-based path for a network resource
WNetGetUniversalName
..msdn    Add comment     W32 Constants      Translate this page
The WNetGetUniversalName function takes a drive-based path for a network resource and returns an information structure that contains a more universal form of the name.
Code examples:
Retrieving a universal form for the drive-based path for a network resource
Declaration:
DWORD WNetGetUniversalName(
  LPCTSTR lpLocalPath,  // path for network resource
  DWORD dwInfoLevel,    // level of information
  LPVOID lpBuffer,      // name buffer
  LPDWORD lpBufferSize  // size of buffer
);
FoxPro declaration:
DECLARE INTEGER WNetGetUniversalName IN mpr;
    STRING    lpLocalPath,;
    INTEGER   dwInfoLevel,;
    STRING  @ lpBuffer,;
    INTEGER @ lpBufferSize
Parameters:
lpLocalPath
[in] Pointer to a constant null-terminated string that is a drive-based path for a network resource.

dwInfoLevel
[in] Specifies the type of structure that the function stores in the buffer pointed to by the lpBuffer parameter.

lpBuffer
[out] Pointer to a buffer that receives the structure specified by the dwInfoLevel parameter.

lpBufferSize
[in/out] Pointer to a variable that specifies the size, in bytes, of the buffer pointed to by the lpBuffer parameter.
Return value:
If the function succeeds, the return value is NO_ERROR.
Word Index links for the WNetGetUniversalName :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-07-16 16:06:19
Modified: 2002-07-16 16:08:02
Visited in last 7 days: 15
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)
2 sec.Function: 'GetKeyboardLayoutList'
5 sec.Function: 'GdipCreateBitmapFromHICON'
8 sec.Function: 'GdipScaleMatrix'
10 sec.Function: 'RealGetWindowClass'
14 sec.Function: 'SetLayeredWindowAttributes'
18 sec.Function: 'GdipGetImageHorizontalResolution'
21 sec.Function: 'GetAdaptersInfo'
24 sec.Function: 'RegQueryValueEx'
28 sec.Function: 'GdipCreateHICONFromBitmap'
32 sec.Function: 'RtlCompressBuffer'
Google
Advertise here!