Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

WNetCancelConnection2 does not close connection

28 views
Skip to first unread message

dainek...@gmail.com

unread,
Aug 9, 2016, 8:48:33 AM8/9/16
to
I'm creating connection to remote server using WNetAddConnection2.
It works perfectly fine until I'm trying to close it.
I'm using WNetCancelConnection2("connectionname", 0x1, true).
After invoking this method I can't see connections via "net use" as expected, but i can still acess remote folder.
Does anyone know the reason of this issuse?
0 new messages