Hi,
Please find attached a patch that handles the case where a connection without device is returned in the connected resources enumeration. This allows cancel all connections without device.
Cf. https://msdn.microsoft.com/fr-fr/c53d078e-188a-4371-bdb9-fc023bc0c1ba https://docs.microsoft.com/en-us/windows/desktop/api/winnetwk/nf-winnetwk-wn...
Cheers, Pierre