[DllImport("Wlanapi.dll")]
private static extern int WlanOpenHandle(
uint dwClientVersion,
IntPtr pReserved, //not in MSDN but required
[Out] out uint pdwNegotiatedVersion,
ref 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.
Please add some!
See WlanQueryInterface.