WlanOpenHandle (wlanapi)
Last changed: -217.81.19.190

.
Summary
Gets a handle to the wireless LAN API for use in the other calls in the API.

C# Signature:

    [DllImport("Wlanapi", EntryPoint = "WlanOpenHandle")]
    public static extern uint WlanOpenHandle(uint dwClientVersion,
                     IntPtr pReserved,
                     [Out] out uint pdwNegotiatedVersion,
                     ref IntPtr phClientHandle);

VB Signature:

    <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

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

pReserved must be passed as IntPtr.Zero.

Tips & Tricks:

Please add some!

Sample Code:

See WlanQueryInterface.

Documentation