IdnToUnicode method

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

Implementation

int IdnToUnicode(
  int dwFlags,
  ffi.Pointer<ffi.Uint16> lpASCIICharStr,
  int cchASCIIChar,
  ffi.Pointer<ffi.Uint16> lpUnicodeCharStr,
  int cchUnicodeChar,
) {
  return (_IdnToUnicode ??= _dylib
      .lookupFunction<_c_IdnToUnicode, _dart_IdnToUnicode>('IdnToUnicode'))(
    dwFlags,
    lpASCIICharStr,
    cchASCIIChar,
    lpUnicodeCharStr,
    cchUnicodeChar,
  );
}