 |
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: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-07-16 16:06:19 | | Modified: | 2002-07-16 16:08:02 | Visited in last 7 days: 21 |