WlanRenameProfile function wlanapi

int WlanRenameProfile(
  1. int hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<Utf16> strOldProfileName,
  4. Pointer<Utf16> strNewProfileName,
  5. Pointer<NativeType> pReserved,
)

The WlanRenameProfile function renames the specified profile.

DWORD WlanRenameProfile(
  HANDLE     hClientHandle,
  const GUID *pInterfaceGuid,
  LPCWSTR    strOldProfileName,
  LPCWSTR    strNewProfileName,
  PVOID      pReserved
);

Implementation

int WlanRenameProfile(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        Pointer<Utf16> strOldProfileName,
        Pointer<Utf16> strNewProfileName,
        Pointer pReserved) =>
    _WlanRenameProfile(hClientHandle, pInterfaceGuid, strOldProfileName,
        strNewProfileName, pReserved);