WideCharToMultiByte method
Implementation
int WideCharToMultiByte(
int CodePage,
int dwFlags,
ffi.Pointer<ffi.Uint16> lpWideCharStr,
int cchWideChar,
ffi.Pointer<ffi.Int8> lpMultiByteStr,
int cbMultiByte,
ffi.Pointer<ffi.Int8> lpDefaultChar,
ffi.Pointer<ffi.Int32> lpUsedDefaultChar,
) {
return (_WideCharToMultiByte ??= _dylib.lookupFunction<
_c_WideCharToMultiByte,
_dart_WideCharToMultiByte>('WideCharToMultiByte'))(
CodePage,
dwFlags,
lpWideCharStr,
cchWideChar,
lpMultiByteStr,
cbMultiByte,
lpDefaultChar,
lpUsedDefaultChar,
);
}