 |
WNetOpenEnum ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The WNetOpenEnum function starts an enumeration of network resources or existing connections. You can continue the enumeration by calling the WNetEnumResource function. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD WNetOpenEnum(
DWORD dwScope, // scope of enumeration
DWORD dwType, // resource types to list
DWORD dwUsage, // resource usage to list
LPNETRESOURCE lpNetResource, // resource structure
LPHANDLE lphEnum // enumeration handle buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER WNetOpenEnum IN mpr;
INTEGER dwScope,;
INTEGER dwType,;
INTEGER dwUsage,;
INTEGER lpNetResource,;
INTEGER @ lphEnum
|
 |
 |
 |
| Parameters: |
 |
dwScope
[in] Specifies the scope of the enumeration.
dwType
[in] Specifies the resource types to enumerate.
dwUsage
[in] Specifies the resource usage type to enumerate.
lpNetResource
[in] Pointer to a NETRESOURCE structure that specifies the container to enumerate.
lphEnum
[out] Pointer to an enumeration handle that can be used in a subsequent call to WNetEnumResource.
|
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is NO_ERROR. |
 |
 |
| Word Index links for the WNetOpenEnum : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-06-28 12:00:31 | | Modified: | 2002-06-28 12:03:00 | Visited in last 7 days: 30 |