WlanSetProfileEapXmlUserData function Null safety wlanapi

int WlanSetProfileEapXmlUserData(
  1. int hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<Utf16> strProfileName,
  4. int dwFlags,
  5. Pointer<Utf16> strEapXmlUserData,
  6. Pointer<NativeType> pReserved

The WlanSetProfileEapXmlUserData function sets the Extensible Authentication Protocol (EAP) user credentials as specified by an XML string. The user credentials apply to a profile on an adapter. These credentials can be used only by the caller.

DWORD WlanSetProfileEapXmlUserData(
  HANDLE     hClientHandle,
  const GUID *pInterfaceGuid,
  LPCWSTR    strProfileName,
  DWORD      dwFlags,
  LPCWSTR    strEapXmlUserData,
  PVOID      pReserved


int WlanSetProfileEapXmlUserData(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        Pointer<Utf16> strProfileName,
        int dwFlags,
        Pointer<Utf16> strEapXmlUserData,
        Pointer pReserved) =>
    _WlanSetProfileEapXmlUserData(hClientHandle, pInterfaceGuid, strProfileName,
        dwFlags, strEapXmlUserData, pReserved);