MultiByteToWideChar method

int MultiByteToWideChar(
  1. int CodePage,
  2. int dwFlags,
  3. Pointer<Int8> lpMultiByteStr,
  4. int cbMultiByte,
  5. Pointer<Uint16> lpWideCharStr,
  6. int cchWideChar,
)

Implementation

int MultiByteToWideChar(
  int CodePage,
  int dwFlags,
  ffi.Pointer<ffi.Int8> lpMultiByteStr,
  int cbMultiByte,
  ffi.Pointer<ffi.Uint16> lpWideCharStr,
  int cchWideChar,
) {
  return (_MultiByteToWideChar ??= _dylib.lookupFunction<
      _c_MultiByteToWideChar,
      _dart_MultiByteToWideChar>('MultiByteToWideChar'))(
    CodePage,
    dwFlags,
    lpMultiByteStr,
    cbMultiByte,
    lpWideCharStr,
    cchWideChar,
  );
}