WlanSetProfileEapUserData function Null safety wlanapi

int WlanSetProfileEapUserData(
  1. int hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<Utf16> strProfileName,
  4. EAP_METHOD_TYPE eapType,
  5. int dwFlags,
  6. int dwEapUserDataSize,
  7. Pointer<Uint8> pbEapUserData,
  8. Pointer<NativeType> pReserved
)

The WlanSetProfileEapUserData function sets the Extensible Authentication Protocol (EAP) user credentials as specified by raw EAP data. The user credentials apply to a profile on an interface.

DWORD WlanSetProfileEapUserData(
  HANDLE          hClientHandle,
  const GUID      *pInterfaceGuid,
  LPCWSTR         strProfileName,
  EAP_METHOD_TYPE eapType,
  DWORD           dwFlags,
  DWORD           dwEapUserDataSize,
  const LPBYTE    pbEapUserData,
  PVOID           pReserved
);

Implementation

int WlanSetProfileEapUserData(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        Pointer<Utf16> strProfileName,
        EAP_METHOD_TYPE eapType,
        int dwFlags,
        int dwEapUserDataSize,
        Pointer<Uint8> pbEapUserData,
        Pointer pReserved) =>
    _WlanSetProfileEapUserData(hClientHandle, pInterfaceGuid, strProfileName,
        eapType, dwFlags, dwEapUserDataSize, pbEapUserData, pReserved);