WlanSetProfileCustomUserData function wlanapi

int WlanSetProfileCustomUserData(
  1. HANDLE hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. PCWSTR strProfileName,
  4. int dwDataSize,
  5. Pointer<Uint8> pData,
)

Sets the custom user data associated with a profile.

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

Implementation

@pragma('vm:prefer-inline')
int WlanSetProfileCustomUserData(
  HANDLE hClientHandle,
  Pointer<GUID> pInterfaceGuid,
  PCWSTR strProfileName,
  int dwDataSize,
  Pointer<Uint8> pData,
) => _WlanSetProfileCustomUserData(
  hClientHandle,
  pInterfaceGuid,
  strProfileName,
  dwDataSize,
  pData,
  nullptr,
);