GetTextExtentExPointW method

int GetTextExtentExPointW(
  1. Pointer<HDC__> hdc,
  2. Pointer<Uint16> lpszString,
  3. int cchString,
  4. int nMaxExtent,
  5. Pointer<Int32> lpnFit,
  6. Pointer<Int32> lpnDx,
  7. Pointer<LPSIZE> lpSize,
)

Implementation

int GetTextExtentExPointW(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<ffi.Uint16> lpszString,
  int cchString,
  int nMaxExtent,
  ffi.Pointer<ffi.Int32> lpnFit,
  ffi.Pointer<ffi.Int32> lpnDx,
  ffi.Pointer<LPSIZE> lpSize,
) {
  return (_GetTextExtentExPointW ??= _dylib.lookupFunction<
      _c_GetTextExtentExPointW,
      _dart_GetTextExtentExPointW>('GetTextExtentExPointW'))(
    hdc,
    lpszString,
    cchString,
    nMaxExtent,
    lpnFit,
    lpnDx,
    lpSize,
  );
}