WlanHostedNetworkForceStart function wlanapi

int WlanHostedNetworkForceStart(
  1. HANDLE hClientHandle,
  2. Pointer<Int32>? pFailReason
)

Transitions the wireless Hosted Network to the wlan_hosted_network_active state without associating the request with the application's calling handle.

To learn more, see learn.microsoft.com/windows/win32/api/wlanapi/nf-wlanapi-wlanhostednetworkforcestart.

Implementation

@pragma('vm:prefer-inline')
int WlanHostedNetworkForceStart(
  HANDLE hClientHandle,
  Pointer<Int32>? pFailReason,
) => _WlanHostedNetworkForceStart(
  hClientHandle,
  pFailReason ?? nullptr,
  nullptr,
);