From 246c041bde21c99ec59aacb5b2033a57bc1df187 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 5 Nov 2020 21:25:34 +0530 Subject: [PATCH 6/6] include: Add ID2D1PrintControl interface in d2d1_1.idl. Signed-off-by: Biswapriyo Nath --- include/d2d1_1.idl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/d2d1_1.idl b/include/d2d1_1.idl index 2ed1ce7..a72a6a9 100644 --- a/include/d2d1_1.idl +++ b/include/d2d1_1.idl @@ -629,6 +629,23 @@ interface ID2D1CommandList : ID2D1Image HRESULT Close(); } +[ + object, + uuid(2c1d867d-c290-41c8-ae7e-34a98702e9a5), + local, +] +interface ID2D1PrintControl : IUnknown +{ + HRESULT AddPage( + [in] ID2D1CommandList *list, + [in] D2D_SIZE_F size, + [in, optional] IStream *stream, + [out, optional] D2D1_TAG *tag1, + [out, optional] D2D1_TAG *tag2 + ); + HRESULT Close(); +} + [ object, uuid(e8f7fe7a-191c-466d-ad95-975678bda998), -- 2.29.2