IdnToAscii method

int IdnToAscii(
  1. int dwFlags,
  2. Pointer<Uint16> lpUnicodeCharStr,
  3. int cchUnicodeChar,
  4. Pointer<Uint16> lpASCIICharStr,
  5. int cchASCIIChar,
)

Implementation

int IdnToAscii(
  int dwFlags,
  ffi.Pointer<ffi.Uint16> lpUnicodeCharStr,
  int cchUnicodeChar,
  ffi.Pointer<ffi.Uint16> lpASCIICharStr,
  int cchASCIIChar,
) {
  return (_IdnToAscii ??=
      _dylib.lookupFunction<_c_IdnToAscii, _dart_IdnToAscii>('IdnToAscii'))(
    dwFlags,
    lpUnicodeCharStr,
    cchUnicodeChar,
    lpASCIICharStr,
    cchASCIIChar,
  );
}