include: Fix IDWriteFontResource definition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2022-04-26 09:15:26 +03:00 committed by Alexandre Julliard
parent cecf7d55a9
commit 075730925a
2 changed files with 4 additions and 4 deletions

View File

@ -7431,7 +7431,7 @@ static UINT32 WINAPI dwritefontresource_GetFontAxisCount(IDWriteFontResource *if
}
static HRESULT WINAPI dwritefontresource_GetDefaultFontAxisValues(IDWriteFontResource *iface,
DWRITE_FONT_AXIS_VALUE const *values, UINT32 num_values)
DWRITE_FONT_AXIS_VALUE *values, UINT32 num_values)
{
FIXME("%p, %p, %u.\n", iface, values, num_values);
@ -7439,7 +7439,7 @@ static HRESULT WINAPI dwritefontresource_GetDefaultFontAxisValues(IDWriteFontRes
}
static HRESULT WINAPI dwritefontresource_GetFontAxisRanges(IDWriteFontResource *iface,
DWRITE_FONT_AXIS_RANGE const *ranges, UINT32 num_ranges)
DWRITE_FONT_AXIS_RANGE *ranges, UINT32 num_ranges)
{
FIXME("%p, %p, %u.\n", iface, ranges, num_ranges);

View File

@ -219,10 +219,10 @@ interface IDWriteFontResource : IUnknown
UINT32 GetFontFaceIndex();
UINT32 GetFontAxisCount();
HRESULT GetDefaultFontAxisValues(
DWRITE_FONT_AXIS_VALUE const *values,
DWRITE_FONT_AXIS_VALUE *values,
UINT32 num_values);
HRESULT GetFontAxisRanges(
DWRITE_FONT_AXIS_RANGE const *ranges,
DWRITE_FONT_AXIS_RANGE *ranges,
UINT32 num_ranges);
DWRITE_FONT_AXIS_ATTRIBUTES GetFontAxisAttributes(
UINT32 axis);