 |
WNetEnumResource ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The WNetEnumResource function continues an enumeration of network resources that was started by a call to the WNetOpenEnum function. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD WNetEnumResource(
HANDLE hEnum, // handle to enumeration
LPDWORD lpcCount, // entries to list
LPVOID lpBuffer, // buffer
LPDWORD lpBufferSize // buffer size
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER WNetEnumResource IN mpr;
INTEGER hEnum,;
INTEGER @ lpcCount,;
STRING @ lpBuffer,;
INTEGER @ lpBufferSize
|
 |
 |
 |
| Parameters: |
 |
hEnum
[in] Specifies a handle that identifies an enumeration instance. This handle must be returned by the WNetOpenEnum function.
lpcCount
[in/out] Pointer to a variable specifying the number of entries requested. If the number requested is –1, the function returns as many entries as possible.
lpBuffer
[out] Pointer to the buffer that receives the enumeration results. The results are returned as an array of NETRESOURCE structures.
lpBufferSize
[in/out] Pointer to a variable that specifies the size, in bytes, of the lpBuffer parameter. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is one of the following values: NO_ERROR, ERROR_NO_MORE_ITEMS. |
 |
 |
| Word Index links for the WNetEnumResource : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-06-28 12:04:45 | | Modified: | 2002-06-28 12:07:03 | Visited in last 7 days: 19 |