ntdll: Catch MEM_EXTENDED_PARAMETER duplicates for all types.
[wine.git] / include / xpsobjectmodel_1.idl
blobf10ffeb81a054db65d84b66d3310fcbd112560a1
1 /*
2 * Copyright 2021 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "xpsobjectmodel.idl";
21 typedef [v1_enum] enum
23 XPS_DOCUMENT_TYPE_UNSPECIFIED = 1,
24 XPS_DOCUMENT_TYPE_XPS,
25 XPS_DOCUMENT_TYPE_OPENXPS
26 } XPS_DOCUMENT_TYPE;
29 object,
30 local,
31 pointer_default(ref),
32 uuid(3b0b6d38-53ad-41da-b212-d37637a6714e),
34 interface IXpsDocumentPackageTarget : IUnknown
36 HRESULT GetXpsOMPackageWriter(
37 [in] IOpcPartUri *documentpart,
38 [in] IOpcPartUri *controlpart,
39 [out, retval] IXpsOMPackageWriter **writer
42 HRESULT GetXpsOMFactory(
43 [out, retval] IXpsOMObjectFactory **factory
46 HRESULT GetXpsType(
47 [out, retval] XPS_DOCUMENT_TYPE *document_type