|
-
October 16th, 2005, 08:18 AM
#1
cancel network connections
Hi,
I tried to cancel network connections using WNetCacnelConnection2.
The problem is, that I don't know how to cancel all of the connections
(I don't know their names in advance).
Can somebody help?
Thanks
-
October 16th, 2005, 08:31 AM
#2
Re: cancel network connections
You can use WNetOpenEnum(...) and WNetEnumResource(...) to enumerate nettwork connections and resources.
- petter
-
October 16th, 2005, 12:18 PM
#3
Re: cancel network connections
Thanks for your reply.
I tried doing it , but failed.
I used the example here -
http://msdn.microsoft.com/library/de..._resources.asp
But I have a few problems -
How do I find the actual devices ("a:, b:..")?
It finds many "RESOURCEUSAGE_connectable" whose local names are
unaccessable.
Any idea?
thanks
-
October 19th, 2005, 02:49 AM
#4
Re: cancel network connections
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|