WNetEnumResource 失败,它的返回值是什么?
ERROR_MORE_DATA More entries are available with subsequent calls. For more information, see the following Remarks section.
ERROR_INVALID_HANDLE The handle specified by the hEnum parameter is not valid.
ERROR_NO_NETWORK The network is unavailable. (This condition is tested before hEnum is tested for validity.)
ERROR_EXTENDED_ERROR A network-specific error occurred. To obtain a description of the error, call the WNetGetLastError function.