WlanReasonCodeToString function Null safety wlanapi

int WlanReasonCodeToString(
  1. int dwReasonCode,
  2. int dwBufferSize,
  3. Pointer<Utf16> pStringBuffer,
  4. Pointer<NativeType> pReserved
)

The WlanReasonCodeToString function retrieves a string that describes a specified reason code.

DWORD WlanReasonCodeToString(
  DWORD  dwReasonCode,
  DWORD  dwBufferSize,
  PWCHAR pStringBuffer,
  PVOID  pReserved
);

Implementation

int WlanReasonCodeToString(int dwReasonCode, int dwBufferSize,
        Pointer<Utf16> pStringBuffer, Pointer pReserved) =>
    _WlanReasonCodeToString(
        dwReasonCode, dwBufferSize, pStringBuffer, pReserved);