WlanConnect function wlanapi

int WlanConnect(
  1. int hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<WLAN_CONNECTION_PARAMETERS> pConnectionParameters,
  4. Pointer<NativeType> pReserved,
)

The WlanConnect function attempts to connect to a specific network.

DWORD WlanConnect(
  HANDLE                            hClientHandle,
  const GUID                        *pInterfaceGuid,
  const PWLAN_CONNECTION_PARAMETERS pConnectionParameters,
  PVOID                             pReserved
);

Implementation

int WlanConnect(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        Pointer<WLAN_CONNECTION_PARAMETERS> pConnectionParameters,
        Pointer pReserved) =>
    _WlanConnect(
        hClientHandle, pInterfaceGuid, pConnectionParameters, pReserved);