Group: Windows Networking - Library: mpr
The WNetCloseEnum function ends a network resource enumeration started by a call to the WNetOpenEnum function.
DWORD WNetCloseEnum(
HANDLE hEnum // handle to enumeration
);
DECLARE INTEGER WNetCloseEnum IN mpr;
INTEGER hEnum
hEnum [in] Specifies a handle that identifies an enumeration instance. This handle must be returned by the WNetOpenEnum function.
If the function succeeds, the return value is NO_ERROR.