NPCloseEnum function
The NPCloseEnum function closes an enumeration.
Syntax
DWORD NPCloseEnum( _In_ HANDLE hEnum );
Parameters
- hEnum [in]
-
Handle obtained from an NPOpenEnum call.
Return value
If the function succeeds, it will return WN_SUCCESS. Otherwise, it will return an error code, which can be one of the following:
| Return code | Description |
|---|---|
|
The network is not present. This condition is checked before hEnum is tested for validity. |
|
hEnum is not a valid handle. |
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
Show: