GetTextExtentExPointI method

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

Implementation

int GetTextExtentExPointI(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<ffi.Uint16> lpwszString,
  int cwchString,
  int nMaxExtent,
  ffi.Pointer<ffi.Int32> lpnFit,
  ffi.Pointer<ffi.Int32> lpnDx,
  ffi.Pointer<LPSIZE> lpSize,
) {
  return (_GetTextExtentExPointI ??= _dylib.lookupFunction<
      _c_GetTextExtentExPointI,
      _dart_GetTextExtentExPointI>('GetTextExtentExPointI'))(
    hdc,
    lpwszString,
    cwchString,
    nMaxExtent,
    lpnFit,
    lpnDx,
    lpSize,
  );
}