WlanGetProfile function Null safety wlanapi

int WlanGetProfile(
  1. int hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<Utf16> strProfileName,
  4. Pointer<NativeType> pReserved,
  5. Pointer<Pointer<Utf16>> pstrProfileXml,
  6. Pointer<Uint32> pdwFlags,
  7. Pointer<Uint32> pdwGrantedAccess
)

The WlanGetProfile function retrieves all information about a specified wireless profile.

DWORD WlanGetProfile(
  HANDLE     hClientHandle,
  const GUID *pInterfaceGuid,
  LPCWSTR    strProfileName,
  PVOID      pReserved,
  LPWSTR     *pstrProfileXml,
  DWORD      *pdwFlags,
  DWORD      *pdwGrantedAccess
);

Implementation

int WlanGetProfile(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        Pointer<Utf16> strProfileName,
        Pointer pReserved,
        Pointer<Pointer<Utf16>> pstrProfileXml,
        Pointer<Uint32> pdwFlags,
        Pointer<Uint32> pdwGrantedAccess) =>
    _WlanGetProfile(hClientHandle, pInterfaceGuid, strProfileName, pReserved,
        pstrProfileXml, pdwFlags, pdwGrantedAccess);