DrawTextExW method

int DrawTextExW(
  1. Pointer<HDC__> hdc,
  2. Pointer<Uint16> lpchText,
  3. int cchText,
  4. Pointer<LPRECT> lprc,
  5. int format,
  6. Pointer<LPDRAWTEXTPARAMS> lpdtp,
)

Implementation

int DrawTextExW(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<ffi.Uint16> lpchText,
  int cchText,
  ffi.Pointer<LPRECT> lprc,
  int format,
  ffi.Pointer<LPDRAWTEXTPARAMS> lpdtp,
) {
  return (_DrawTextExW ??= _dylib
      .lookupFunction<_c_DrawTextExW, _dart_DrawTextExW>('DrawTextExW'))(
    hdc,
    lpchText,
    cchText,
    lprc,
    format,
    lpdtp,
  );
}