/* Uses Struct rather than class version of NETRESOURCE */
[DllImport("mpr.dll")]
private static extern int WNetAddConnection3(IntPtr hWndOwner,
ref NETRESOURCE lpNetResource, string lpPassword,
string lpUserName, int dwFlags);
VB .NET Signature:
Declare Function WNetAddConnection3 Lib "mpr.dll" (TODO) As TODO
16/03/2007 14:18:21 - pretenda at wrgn dot net-210.8.110.35
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).
Find memory leaks fast
Is your application using too much memory, but you are not sure why? Holding on to too many objects?
Get to the root of your problem fast, with ANTS Memory Profiler