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: 21
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.196.179)
3 sec.Example: 'Obtaining I/O counts for the current process'
1.75 hrs.Example: 'Using the SetErrorMode for determining if a floppy drive is ready'
7.07 hrs.Function: 'FindNextPrinterChangeNotification'
Function group: 'Printing and Print Spooler'
 Function: 'ExitWindowsEx'
Function group: 'System Shutdown'
10.09 hrs.Example: 'GDI+: cropping images'
1 day(s)Example: 'How to print picture stored in enhanced-format metafile (*.emf)'
 Function: 'GetThreadLocale'
 Example: 'StrDup returns a pointer to the duplicate of a source VFP string'
 Example: 'Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)'
 Example: 'Placing an arbitrary rectangular area of main VFP window on the Clipboard'
Google
Advertise here!