[DllImport("Wlanapi.dll")]
private static extern int WlanOpenHandle(
uint dwClientVersion,
IntPtr pReserved, //not in MSDN but required
[Out] out uint pdwNegotiatedVersion,
out IntPtr ClientHandle);
<DllImport("Wlanapi", EntryPoint := "WlanOpenHandle")> _
Public Shared Function WlanOpenHandle(ByVal dwClientVersion As UInteger, ByVal pReserved As IntPtr, <Out> ByRef pdwNegotiatedVersion As UInteger, ByRef phClientHandle As IntPtr) As UInteger
End Function
None.
Do you know one? Please contribute it!
pReserved must be passed as IntPtr.Zero.
dwClientVersion must be 1 for Windows XP with SP3 and Wireless LAN API for Windows XP with SP2
or 2 for Windows Vista and Windows Server 2008
Please add some!
See WlanQueryInterface.