﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1453	_Net_Share_ShareCheck() always returns 0	PsaltyDS	Jpm	"Something broke _Net_Share_ShareCheck(). I have a broken script that used to work because now all share types, even non-existent, return 0. Zero is a valid return for $STYPE_DISKTREE, but other types (i.e. the IPC$ share) have other values and non-existent should return -1.

In this demo, compare result on console to col. 1 of array from _Net_Share_ShareEnum(), which still works correctly: 
{{{
#include <NetShare.au3>
#include <Array.au3>

$aShares = _Net_Share_ShareEnum(@ComputerName)
For $n = 1 To UBound($aShares) - 1
    $iCheck = _Net_Share_ShareCheck(@ComputerName, $aShares[$n][0])
    ConsoleWrite(""Share: "" & $aShares[$n][0] & ""; Check = "" & $iCheck & @LF)
Next
ConsoleWrite(@LF & ""Share: NoSuchShare; Check = "" & _Net_Share_ShareCheck(@ComputerName, ""NoSuchShare"") & @LF)
_ArrayDisplay($aShares, """")
}}}
Tested against Beta 3.3.5.1 with no change."	Bug	closed	3.3.7.0	Standard UDFs	3.3.4.0	None	Fixed		
