 |
WNetGetProviderName ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The WNetGetProviderName function obtains the provider name for a specific type of network. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD WNetGetProviderName(
DWORD dwNetType, // network type
LPTSTR lpProviderName, // provider name buffer
LPDWORD lpBufferSize // size of buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER WNetGetProviderName IN mpr;
INTEGER dwNetType,;
STRING @ lpProviderName,;
INTEGER @ lpBufferSize
|
 |
 |
 |
| Parameters: |
 |
dwNetType
[in] Specifies the network type that is unique to the network.
lpProviderName
[out] Pointer to a buffer in which to return the network provider name.
lpBufferSize
[in/out] Specifies the size, in characters, of the buffer passed to the function. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is NO_ERROR (0). |
 |
 |
| My comment: |
 |
| You can find a complete list of network types in the header file Winnetwk.h. |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-06-06 08:53:11 | | Modified: | 2002-06-06 08:55:17 | Visited in last 7 days: 24 |