Nikolay Sivov : include: Add IDWriteFontSet3 definition.

Alexandre Julliard julliard at winehq.org
Wed Oct 2 17:47:37 CDT 2019


Module: wine
Branch: master
Commit: de5db669138fd722deb61fac8b22634bc22a1e42
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=de5db669138fd722deb61fac8b22634bc22a1e42

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Oct  2 16:12:50 2019 +0300

include: Add IDWriteFontSet3 definition.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/dwrite_3.idl | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/include/dwrite_3.idl b/include/dwrite_3.idl
index 5958e6fb1b..dc8bf0e959 100644
--- a/include/dwrite_3.idl
+++ b/include/dwrite_3.idl
@@ -84,6 +84,15 @@ typedef enum DWRITE_FONT_AXIS_TAG
     DWRITE_FONT_AXIS_TAG_ITALIC       = 0x6c617469, /* 'ital' */
 } DWRITE_FONT_AXIS_TAG;
 
+typedef enum DWRITE_FONT_SOURCE_TYPE
+{
+    DWRITE_FONT_SOURCE_TYPE_UNKNOWN,
+    DWRITE_FONT_SOURCE_TYPE_PER_MACHINE,
+    DWRITE_FONT_SOURCE_TYPE_PER_USER,
+    DWRITE_FONT_SOURCE_TYPE_APPX_PACKAGE,
+    DWRITE_FONT_SOURCE_TYPE_REMOTE_FONT_PROVIDER
+} DWRITE_FONT_SOURCE_TYPE;
+
 typedef struct DWRITE_FONT_AXIS_VALUE
 {
     DWRITE_FONT_AXIS_TAG axisTag;
@@ -441,6 +450,18 @@ interface IDWriteFontSet2 : IDWriteFontSet1
     HANDLE GetExpirationEvent();
 }
 
+[
+    local,
+    object,
+    uuid(7c073ef2-a7f4-4045-8c32-8ab8ae640f90)
+]
+interface IDWriteFontSet3 : IDWriteFontSet2
+{
+    DWRITE_FONT_SOURCE_TYPE GetFontSourceType(UINT32 index);
+    UINT32 GetFontSourceNameLength(UINT32 index);
+    HRESULT GetFontSourceName(UINT32 index, WCHAR *buffer, UINT32 buffer_size);
+}
+
 [
     local,
     object,




More information about the wine-cvs mailing list