News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Network API

Started by Slugsnack, March 31, 2009, 05:20:42 PM

Previous topic - Next topic

Slugsnack

Anyone know some Windows APIs that can be used to break and re-enable a network connection ?  I initially thought WNetCancelConnection2() would do the job but that is for mapped network drives.  I want to be able to do the same as if I go to network connections and disable/re-enable the connection from there.

Thanks

Vortex


Slugsnack

Mmmmm is there any regular APIs that can be used instead ?  Not even sure how I would go about using those for MASM..  The netsh method I had come across before but it seems rather inelegant if there are functions available that do what I want.

Can you even use classes with MASM ?  I've used them to quite some extent in Java previously but not sure how I would go about doing so for MASM..