GetAddrInfoW function Null safety winsock

int GetAddrInfoW(
  1. Pointer<Utf16> pNodeName,
  2. Pointer<Utf16> pServiceName,
  3. Pointer<addrinfo> pHints,
  4. Pointer<Pointer<addrinfo>> ppResult
)

The GetAddrInfoW function provides protocol-independent translation from a Unicode host name to an address.

INT WSAAPI GetAddrInfoW(
  PCWSTR          pNodeName,
  PCWSTR          pServiceName,
  const ADDRINFOW *pHints,
  PADDRINFOW      *ppResult
);

Implementation

int GetAddrInfoW(Pointer<Utf16> pNodeName, Pointer<Utf16> pServiceName,
        Pointer<addrinfo> pHints, Pointer<Pointer<addrinfo>> ppResult) =>
    _GetAddrInfoW(pNodeName, pServiceName, pHints, ppResult);