Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Storage/Xps/mod.rs

raw
1 #[cfg(feature = "Win32_Graphics_Gdi")]
2 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn AbortDoc(hdc : super::super::Graphics::Gdi:: HDC) -> i32);
3 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4 ::windows_targets::link!("winspool.drv" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DeviceCapabilitiesA(pdevice : ::windows_sys::core::PCSTR, pport : ::windows_sys::core::PCSTR, fwcapability : PRINTER_DEVICE_CAPABILITIES, poutput : ::windows_sys::core::PSTR, pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA) -> i32);
5 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6 ::windows_targets::link!("winspool.drv" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DeviceCapabilitiesW(pdevice : ::windows_sys::core::PCWSTR, pport : ::windows_sys::core::PCWSTR, fwcapability : PRINTER_DEVICE_CAPABILITIES, poutput : ::windows_sys::core::PWSTR, pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW) -> i32);
7 #[cfg(feature = "Win32_Graphics_Gdi")]
8 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn EndDoc(hdc : super::super::Graphics::Gdi:: HDC) -> i32);
9 #[cfg(feature = "Win32_Graphics_Gdi")]
10 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn EndPage(hdc : super::super::Graphics::Gdi:: HDC) -> i32);
11 #[cfg(feature = "Win32_Graphics_Gdi")]
12 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn Escape(hdc : super::super::Graphics::Gdi:: HDC, iescape : i32, cjin : i32, pvin : ::windows_sys::core::PCSTR, pvout : *mut ::core::ffi::c_void) -> i32);
13 #[cfg(feature = "Win32_Graphics_Gdi")]
14 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn ExtEscape(hdc : super::super::Graphics::Gdi:: HDC, iescape : i32, cjinput : i32, lpindata : ::windows_sys::core::PCSTR, cjoutput : i32, lpoutdata : ::windows_sys::core::PSTR) -> i32);
15 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
16 ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintWindow(hwnd : super::super::Foundation:: HWND, hdcblt : super::super::Graphics::Gdi:: HDC, nflags : PRINT_WINDOW_FLAGS) -> super::super::Foundation:: BOOL);
17 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
18 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn SetAbortProc(hdc : super::super::Graphics::Gdi:: HDC, proc : ABORTPROC) -> i32);
19 #[cfg(feature = "Win32_Graphics_Gdi")]
20 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartDocA(hdc : super::super::Graphics::Gdi:: HDC, lpdi : *const DOCINFOA) -> i32);
21 #[cfg(feature = "Win32_Graphics_Gdi")]
22 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartDocW(hdc : super::super::Graphics::Gdi:: HDC, lpdi : *const DOCINFOW) -> i32);
23 #[cfg(feature = "Win32_Graphics_Gdi")]
24 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartPage(hdc : super::super::Graphics::Gdi:: HDC) -> i32);
25 pub type IXpsDocumentPackageTarget = *mut ::core::ffi::c_void;
26 pub type IXpsDocumentPackageTarget3D = *mut ::core::ffi::c_void;
27 pub type IXpsOMBrush = *mut ::core::ffi::c_void;
28 pub type IXpsOMCanvas = *mut ::core::ffi::c_void;
29 pub type IXpsOMColorProfileResource = *mut ::core::ffi::c_void;
30 pub type IXpsOMColorProfileResourceCollection = *mut ::core::ffi::c_void;
31 pub type IXpsOMCoreProperties = *mut ::core::ffi::c_void;
32 pub type IXpsOMDashCollection = *mut ::core::ffi::c_void;
33 pub type IXpsOMDictionary = *mut ::core::ffi::c_void;
34 pub type IXpsOMDocument = *mut ::core::ffi::c_void;
35 pub type IXpsOMDocumentCollection = *mut ::core::ffi::c_void;
36 pub type IXpsOMDocumentSequence = *mut ::core::ffi::c_void;
37 pub type IXpsOMDocumentStructureResource = *mut ::core::ffi::c_void;
38 pub type IXpsOMFontResource = *mut ::core::ffi::c_void;
39 pub type IXpsOMFontResourceCollection = *mut ::core::ffi::c_void;
40 pub type IXpsOMGeometry = *mut ::core::ffi::c_void;
41 pub type IXpsOMGeometryFigure = *mut ::core::ffi::c_void;
42 pub type IXpsOMGeometryFigureCollection = *mut ::core::ffi::c_void;
43 pub type IXpsOMGlyphs = *mut ::core::ffi::c_void;
44 pub type IXpsOMGlyphsEditor = *mut ::core::ffi::c_void;
45 pub type IXpsOMGradientBrush = *mut ::core::ffi::c_void;
46 pub type IXpsOMGradientStop = *mut ::core::ffi::c_void;
47 pub type IXpsOMGradientStopCollection = *mut ::core::ffi::c_void;
48 pub type IXpsOMImageBrush = *mut ::core::ffi::c_void;
49 pub type IXpsOMImageResource = *mut ::core::ffi::c_void;
50 pub type IXpsOMImageResourceCollection = *mut ::core::ffi::c_void;
51 pub type IXpsOMLinearGradientBrush = *mut ::core::ffi::c_void;
52 pub type IXpsOMMatrixTransform = *mut ::core::ffi::c_void;
53 pub type IXpsOMNameCollection = *mut ::core::ffi::c_void;
54 pub type IXpsOMObjectFactory = *mut ::core::ffi::c_void;
55 pub type IXpsOMObjectFactory1 = *mut ::core::ffi::c_void;
56 pub type IXpsOMPackage = *mut ::core::ffi::c_void;
57 pub type IXpsOMPackage1 = *mut ::core::ffi::c_void;
58 pub type IXpsOMPackageTarget = *mut ::core::ffi::c_void;
59 pub type IXpsOMPackageWriter = *mut ::core::ffi::c_void;
60 pub type IXpsOMPackageWriter3D = *mut ::core::ffi::c_void;
61 pub type IXpsOMPage = *mut ::core::ffi::c_void;
62 pub type IXpsOMPage1 = *mut ::core::ffi::c_void;
63 pub type IXpsOMPageReference = *mut ::core::ffi::c_void;
64 pub type IXpsOMPageReferenceCollection = *mut ::core::ffi::c_void;
65 pub type IXpsOMPart = *mut ::core::ffi::c_void;
66 pub type IXpsOMPartResources = *mut ::core::ffi::c_void;
67 pub type IXpsOMPartUriCollection = *mut ::core::ffi::c_void;
68 pub type IXpsOMPath = *mut ::core::ffi::c_void;
69 pub type IXpsOMPrintTicketResource = *mut ::core::ffi::c_void;
70 pub type IXpsOMRadialGradientBrush = *mut ::core::ffi::c_void;
71 pub type IXpsOMRemoteDictionaryResource = *mut ::core::ffi::c_void;
72 pub type IXpsOMRemoteDictionaryResource1 = *mut ::core::ffi::c_void;
73 pub type IXpsOMRemoteDictionaryResourceCollection = *mut ::core::ffi::c_void;
74 pub type IXpsOMResource = *mut ::core::ffi::c_void;
75 pub type IXpsOMShareable = *mut ::core::ffi::c_void;
76 pub type IXpsOMSignatureBlockResource = *mut ::core::ffi::c_void;
77 pub type IXpsOMSignatureBlockResourceCollection = *mut ::core::ffi::c_void;
78 pub type IXpsOMSolidColorBrush = *mut ::core::ffi::c_void;
79 pub type IXpsOMStoryFragmentsResource = *mut ::core::ffi::c_void;
80 pub type IXpsOMThumbnailGenerator = *mut ::core::ffi::c_void;
81 pub type IXpsOMTileBrush = *mut ::core::ffi::c_void;
82 pub type IXpsOMVisual = *mut ::core::ffi::c_void;
83 pub type IXpsOMVisualBrush = *mut ::core::ffi::c_void;
84 pub type IXpsOMVisualCollection = *mut ::core::ffi::c_void;
85 pub type IXpsSignature = *mut ::core::ffi::c_void;
86 pub type IXpsSignatureBlock = *mut ::core::ffi::c_void;
87 pub type IXpsSignatureBlockCollection = *mut ::core::ffi::c_void;
88 pub type IXpsSignatureCollection = *mut ::core::ffi::c_void;
89 pub type IXpsSignatureManager = *mut ::core::ffi::c_void;
90 pub type IXpsSignatureRequest = *mut ::core::ffi::c_void;
91 pub type IXpsSignatureRequestCollection = *mut ::core::ffi::c_void;
92 pub type IXpsSigningOptions = *mut ::core::ffi::c_void;
93 pub const DC_BINNAMES: PRINTER_DEVICE_CAPABILITIES = 12u16;
94 pub const DC_BINS: PRINTER_DEVICE_CAPABILITIES = 6u16;
95 pub const DC_COLLATE: PRINTER_DEVICE_CAPABILITIES = 22u16;
96 pub const DC_COLORDEVICE: PRINTER_DEVICE_CAPABILITIES = 32u16;
97 pub const DC_COPIES: PRINTER_DEVICE_CAPABILITIES = 18u16;
98 pub const DC_DRIVER: PRINTER_DEVICE_CAPABILITIES = 11u16;
99 pub const DC_DUPLEX: PRINTER_DEVICE_CAPABILITIES = 7u16;
100 pub const DC_ENUMRESOLUTIONS: PRINTER_DEVICE_CAPABILITIES = 13u16;
101 pub const DC_EXTRA: PRINTER_DEVICE_CAPABILITIES = 9u16;
102 pub const DC_FIELDS: PRINTER_DEVICE_CAPABILITIES = 1u16;
103 pub const DC_FILEDEPENDENCIES: PRINTER_DEVICE_CAPABILITIES = 14u16;
104 pub const DC_MAXEXTENT: PRINTER_DEVICE_CAPABILITIES = 5u16;
105 pub const DC_MEDIAREADY: PRINTER_DEVICE_CAPABILITIES = 29u16;
106 pub const DC_MEDIATYPENAMES: PRINTER_DEVICE_CAPABILITIES = 34u16;
107 pub const DC_MEDIATYPES: PRINTER_DEVICE_CAPABILITIES = 35u16;
108 pub const DC_MINEXTENT: PRINTER_DEVICE_CAPABILITIES = 4u16;
109 pub const DC_NUP: PRINTER_DEVICE_CAPABILITIES = 33u16;
110 pub const DC_ORIENTATION: PRINTER_DEVICE_CAPABILITIES = 17u16;
111 pub const DC_PAPERNAMES: PRINTER_DEVICE_CAPABILITIES = 16u16;
112 pub const DC_PAPERS: PRINTER_DEVICE_CAPABILITIES = 2u16;
113 pub const DC_PAPERSIZE: PRINTER_DEVICE_CAPABILITIES = 3u16;
114 pub const DC_PERSONALITY: PRINTER_DEVICE_CAPABILITIES = 25u16;
115 pub const DC_PRINTERMEM: PRINTER_DEVICE_CAPABILITIES = 28u16;
116 pub const DC_PRINTRATE: PRINTER_DEVICE_CAPABILITIES = 26u16;
117 pub const DC_PRINTRATEPPM: PRINTER_DEVICE_CAPABILITIES = 31u16;
118 pub const DC_PRINTRATEUNIT: PRINTER_DEVICE_CAPABILITIES = 27u16;
119 pub const DC_SIZE: PRINTER_DEVICE_CAPABILITIES = 8u16;
120 pub const DC_STAPLE: PRINTER_DEVICE_CAPABILITIES = 30u16;
121 pub const DC_TRUETYPE: PRINTER_DEVICE_CAPABILITIES = 15u16;
122 pub const DC_VERSION: PRINTER_DEVICE_CAPABILITIES = 10u16;
123 pub const PSINJECT_BEGINDEFAULTS: PSINJECT_POINT = 12u16;
124 pub const PSINJECT_BEGINPAGESETUP: PSINJECT_POINT = 101u16;
125 pub const PSINJECT_BEGINPROLOG: PSINJECT_POINT = 14u16;
126 pub const PSINJECT_BEGINSETUP: PSINJECT_POINT = 16u16;
127 pub const PSINJECT_BEGINSTREAM: PSINJECT_POINT = 1u16;
128 pub const PSINJECT_BOUNDINGBOX: PSINJECT_POINT = 9u16;
129 pub const PSINJECT_COMMENTS: PSINJECT_POINT = 11u16;
130 pub const PSINJECT_DOCNEEDEDRES: PSINJECT_POINT = 5u16;
131 pub const PSINJECT_DOCSUPPLIEDRES: PSINJECT_POINT = 6u16;
132 pub const PSINJECT_DOCUMENTPROCESSCOLORS: PSINJECT_POINT = 10u16;
133 pub const PSINJECT_DOCUMENTPROCESSCOLORSATEND: PSINJECT_POINT = 21u16;
134 pub const PSINJECT_ENDDEFAULTS: PSINJECT_POINT = 13u16;
135 pub const PSINJECT_ENDPAGECOMMENTS: PSINJECT_POINT = 107u16;
136 pub const PSINJECT_ENDPAGESETUP: PSINJECT_POINT = 102u16;
137 pub const PSINJECT_ENDPROLOG: PSINJECT_POINT = 15u16;
138 pub const PSINJECT_ENDSETUP: PSINJECT_POINT = 17u16;
139 pub const PSINJECT_ENDSTREAM: PSINJECT_POINT = 20u16;
140 pub const PSINJECT_EOF: PSINJECT_POINT = 19u16;
141 pub const PSINJECT_ORIENTATION: PSINJECT_POINT = 8u16;
142 pub const PSINJECT_PAGEBBOX: PSINJECT_POINT = 106u16;
143 pub const PSINJECT_PAGENUMBER: PSINJECT_POINT = 100u16;
144 pub const PSINJECT_PAGEORDER: PSINJECT_POINT = 7u16;
145 pub const PSINJECT_PAGES: PSINJECT_POINT = 4u16;
146 pub const PSINJECT_PAGESATEND: PSINJECT_POINT = 3u16;
147 pub const PSINJECT_PAGETRAILER: PSINJECT_POINT = 103u16;
148 pub const PSINJECT_PLATECOLOR: PSINJECT_POINT = 104u16;
149 pub const PSINJECT_PSADOBE: PSINJECT_POINT = 2u16;
150 pub const PSINJECT_SHOWPAGE: PSINJECT_POINT = 105u16;
151 pub const PSINJECT_TRAILER: PSINJECT_POINT = 18u16;
152 pub const PSINJECT_VMRESTORE: PSINJECT_POINT = 201u16;
153 pub const PSINJECT_VMSAVE: PSINJECT_POINT = 200u16;
154 pub const PW_CLIENTONLY: PRINT_WINDOW_FLAGS = 1u32;
155 pub const XPS_COLOR_INTERPOLATION_SCRGBLINEAR: XPS_COLOR_INTERPOLATION = 1i32;
156 pub const XPS_COLOR_INTERPOLATION_SRGBLINEAR: XPS_COLOR_INTERPOLATION = 2i32;
157 pub const XPS_COLOR_TYPE_CONTEXT: XPS_COLOR_TYPE = 3i32;
158 pub const XPS_COLOR_TYPE_SCRGB: XPS_COLOR_TYPE = 2i32;
159 pub const XPS_COLOR_TYPE_SRGB: XPS_COLOR_TYPE = 1i32;
160 pub const XPS_DASH_CAP_FLAT: XPS_DASH_CAP = 1i32;
161 pub const XPS_DASH_CAP_ROUND: XPS_DASH_CAP = 2i32;
162 pub const XPS_DASH_CAP_SQUARE: XPS_DASH_CAP = 3i32;
163 pub const XPS_DASH_CAP_TRIANGLE: XPS_DASH_CAP = 4i32;
164 pub const XPS_DOCUMENT_TYPE_OPENXPS: XPS_DOCUMENT_TYPE = 3i32;
165 pub const XPS_DOCUMENT_TYPE_UNSPECIFIED: XPS_DOCUMENT_TYPE = 1i32;
166 pub const XPS_DOCUMENT_TYPE_XPS: XPS_DOCUMENT_TYPE = 2i32;
167 pub const XPS_E_ABSOLUTE_REFERENCE: ::windows_sys::core::HRESULT = -2142108159i32;
168 pub const XPS_E_ALREADY_OWNED: ::windows_sys::core::HRESULT = -2142108413i32;
169 pub const XPS_E_BLEED_BOX_PAGE_DIMENSIONS_NOT_IN_SYNC: ::windows_sys::core::HRESULT = -2142108407i32;
170 pub const XPS_E_BOTH_PATHFIGURE_AND_ABBR_SYNTAX_PRESENT: ::windows_sys::core::HRESULT = -2142108409i32;
171 pub const XPS_E_BOTH_RESOURCE_AND_SOURCEATTR_PRESENT: ::windows_sys::core::HRESULT = -2142108408i32;
172 pub const XPS_E_CARET_OUTSIDE_STRING: ::windows_sys::core::HRESULT = -2142108923i32;
173 pub const XPS_E_CARET_OUT_OF_ORDER: ::windows_sys::core::HRESULT = -2142108922i32;
174 pub const XPS_E_COLOR_COMPONENT_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2142108410i32;
175 pub const XPS_E_DICTIONARY_ITEM_NAMED: ::windows_sys::core::HRESULT = -2142108671i32;
176 pub const XPS_E_DUPLICATE_NAMES: ::windows_sys::core::HRESULT = -2142109175i32;
177 pub const XPS_E_DUPLICATE_RESOURCE_KEYS: ::windows_sys::core::HRESULT = -2142109184i32;
178 pub const XPS_E_INDEX_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2142108416i32;
179 pub const XPS_E_INVALID_BLEED_BOX: ::windows_sys::core::HRESULT = -2142109692i32;
180 pub const XPS_E_INVALID_CONTENT_BOX: ::windows_sys::core::HRESULT = -2142109685i32;
181 pub const XPS_E_INVALID_CONTENT_TYPE: ::windows_sys::core::HRESULT = -2142109682i32;
182 pub const XPS_E_INVALID_FLOAT: ::windows_sys::core::HRESULT = -2142109689i32;
183 pub const XPS_E_INVALID_FONT_URI: ::windows_sys::core::HRESULT = -2142109686i32;
184 pub const XPS_E_INVALID_LANGUAGE: ::windows_sys::core::HRESULT = -2142109696i32;
185 pub const XPS_E_INVALID_LOOKUP_TYPE: ::windows_sys::core::HRESULT = -2142109690i32;
186 pub const XPS_E_INVALID_MARKUP: ::windows_sys::core::HRESULT = -2142109684i32;
187 pub const XPS_E_INVALID_NAME: ::windows_sys::core::HRESULT = -2142109695i32;
188 pub const XPS_E_INVALID_NUMBER_OF_COLOR_CHANNELS: ::windows_sys::core::HRESULT = -2142108158i32;
189 pub const XPS_E_INVALID_NUMBER_OF_POINTS_IN_CURVE_SEGMENTS: ::windows_sys::core::HRESULT = -2142108160i32;
190 pub const XPS_E_INVALID_OBFUSCATED_FONT_URI: ::windows_sys::core::HRESULT = -2142109681i32;
191 pub const XPS_E_INVALID_PAGE_SIZE: ::windows_sys::core::HRESULT = -2142109693i32;
192 pub const XPS_E_INVALID_RESOURCE_KEY: ::windows_sys::core::HRESULT = -2142109694i32;
193 pub const XPS_E_INVALID_SIGNATUREBLOCK_MARKUP: ::windows_sys::core::HRESULT = -2142108789i32;
194 pub const XPS_E_INVALID_THUMBNAIL_IMAGE_TYPE: ::windows_sys::core::HRESULT = -2142109691i32;
195 pub const XPS_E_INVALID_XML_ENCODING: ::windows_sys::core::HRESULT = -2142109683i32;
196 pub const XPS_E_MAPPING_OUTSIDE_INDICES: ::windows_sys::core::HRESULT = -2142108924i32;
197 pub const XPS_E_MAPPING_OUTSIDE_STRING: ::windows_sys::core::HRESULT = -2142108925i32;
198 pub const XPS_E_MAPPING_OUT_OF_ORDER: ::windows_sys::core::HRESULT = -2142108926i32;
199 pub const XPS_E_MARKUP_COMPATIBILITY_ELEMENTS: ::windows_sys::core::HRESULT = -2142108791i32;
200 pub const XPS_E_MISSING_COLORPROFILE: ::windows_sys::core::HRESULT = -2142109436i32;
201 pub const XPS_E_MISSING_DISCARDCONTROL: ::windows_sys::core::HRESULT = -2142109422i32;
202 pub const XPS_E_MISSING_DOCUMENT: ::windows_sys::core::HRESULT = -2142109431i32;
203 pub const XPS_E_MISSING_DOCUMENTSEQUENCE_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109432i32;
204 pub const XPS_E_MISSING_FONTURI: ::windows_sys::core::HRESULT = -2142109433i32;
205 pub const XPS_E_MISSING_GLYPHS: ::windows_sys::core::HRESULT = -2142109438i32;
206 pub const XPS_E_MISSING_IMAGE_IN_IMAGEBRUSH: ::windows_sys::core::HRESULT = -2142109426i32;
207 pub const XPS_E_MISSING_LOOKUP: ::windows_sys::core::HRESULT = -2142109439i32;
208 pub const XPS_E_MISSING_NAME: ::windows_sys::core::HRESULT = -2142109440i32;
209 pub const XPS_E_MISSING_PAGE_IN_DOCUMENT: ::windows_sys::core::HRESULT = -2142109428i32;
210 pub const XPS_E_MISSING_PAGE_IN_PAGEREFERENCE: ::windows_sys::core::HRESULT = -2142109427i32;
211 pub const XPS_E_MISSING_PART_REFERENCE: ::windows_sys::core::HRESULT = -2142109424i32;
212 pub const XPS_E_MISSING_PART_STREAM: ::windows_sys::core::HRESULT = -2142109421i32;
213 pub const XPS_E_MISSING_REFERRED_DOCUMENT: ::windows_sys::core::HRESULT = -2142109430i32;
214 pub const XPS_E_MISSING_REFERRED_PAGE: ::windows_sys::core::HRESULT = -2142109429i32;
215 pub const XPS_E_MISSING_RELATIONSHIP_TARGET: ::windows_sys::core::HRESULT = -2142109435i32;
216 pub const XPS_E_MISSING_RESOURCE_KEY: ::windows_sys::core::HRESULT = -2142109425i32;
217 pub const XPS_E_MISSING_RESOURCE_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109434i32;
218 pub const XPS_E_MISSING_RESTRICTED_FONT_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109423i32;
219 pub const XPS_E_MISSING_SEGMENT_DATA: ::windows_sys::core::HRESULT = -2142109437i32;
220 pub const XPS_E_MULTIPLE_DOCUMENTSEQUENCE_RELATIONSHIPS: ::windows_sys::core::HRESULT = -2142109182i32;
221 pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENT: ::windows_sys::core::HRESULT = -2142109178i32;
222 pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENTSEQUENCE: ::windows_sys::core::HRESULT = -2142109177i32;
223 pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_PAGE: ::windows_sys::core::HRESULT = -2142109179i32;
224 pub const XPS_E_MULTIPLE_REFERENCES_TO_PART: ::windows_sys::core::HRESULT = -2142109176i32;
225 pub const XPS_E_MULTIPLE_RESOURCES: ::windows_sys::core::HRESULT = -2142109183i32;
226 pub const XPS_E_MULTIPLE_THUMBNAILS_ON_PACKAGE: ::windows_sys::core::HRESULT = -2142109180i32;
227 pub const XPS_E_MULTIPLE_THUMBNAILS_ON_PAGE: ::windows_sys::core::HRESULT = -2142109181i32;
228 pub const XPS_E_NEGATIVE_FLOAT: ::windows_sys::core::HRESULT = -2142108918i32;
229 pub const XPS_E_NESTED_REMOTE_DICTIONARY: ::windows_sys::core::HRESULT = -2142108670i32;
230 pub const XPS_E_NOT_ENOUGH_GRADIENT_STOPS: ::windows_sys::core::HRESULT = -2142108405i32;
231 pub const XPS_E_NO_CUSTOM_OBJECTS: ::windows_sys::core::HRESULT = -2142108414i32;
232 pub const XPS_E_OBJECT_DETACHED: ::windows_sys::core::HRESULT = -2142108790i32;
233 pub const XPS_E_ODD_BIDILEVEL: ::windows_sys::core::HRESULT = -2142108921i32;
234 pub const XPS_E_ONE_TO_ONE_MAPPING_EXPECTED: ::windows_sys::core::HRESULT = -2142108920i32;
235 pub const XPS_E_PACKAGE_ALREADY_OPENED: ::windows_sys::core::HRESULT = -2142108793i32;
236 pub const XPS_E_PACKAGE_NOT_OPENED: ::windows_sys::core::HRESULT = -2142108794i32;
237 pub const XPS_E_PACKAGE_WRITER_NOT_CLOSED: ::windows_sys::core::HRESULT = -2142108404i32;
238 pub const XPS_E_RELATIONSHIP_EXTERNAL: ::windows_sys::core::HRESULT = -2142108406i32;
239 pub const XPS_E_RESOURCE_NOT_OWNED: ::windows_sys::core::HRESULT = -2142108412i32;
240 pub const XPS_E_RESTRICTED_FONT_NOT_OBFUSCATED: ::windows_sys::core::HRESULT = -2142108919i32;
241 pub const XPS_E_SIGNATUREID_DUP: ::windows_sys::core::HRESULT = -2142108792i32;
242 pub const XPS_E_SIGREQUESTID_DUP: ::windows_sys::core::HRESULT = -2142108795i32;
243 pub const XPS_E_STRING_TOO_LONG: ::windows_sys::core::HRESULT = -2142108928i32;
244 pub const XPS_E_TOO_MANY_INDICES: ::windows_sys::core::HRESULT = -2142108927i32;
245 pub const XPS_E_UNAVAILABLE_PACKAGE: ::windows_sys::core::HRESULT = -2142109420i32;
246 pub const XPS_E_UNEXPECTED_COLORPROFILE: ::windows_sys::core::HRESULT = -2142108411i32;
247 pub const XPS_E_UNEXPECTED_CONTENT_TYPE: ::windows_sys::core::HRESULT = -2142109688i32;
248 pub const XPS_E_UNEXPECTED_RELATIONSHIP_TYPE: ::windows_sys::core::HRESULT = -2142109680i32;
249 pub const XPS_E_UNEXPECTED_RESTRICTED_FONT_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109679i32;
250 pub const XPS_E_VISUAL_CIRCULAR_REF: ::windows_sys::core::HRESULT = -2142108415i32;
251 pub const XPS_E_XKEY_ATTR_PRESENT_OUTSIDE_RES_DICT: ::windows_sys::core::HRESULT = -2142108672i32;
252 pub const XPS_FILL_RULE_EVENODD: XPS_FILL_RULE = 1i32;
253 pub const XPS_FILL_RULE_NONZERO: XPS_FILL_RULE = 2i32;
254 pub const XPS_FONT_EMBEDDING_NORMAL: XPS_FONT_EMBEDDING = 1i32;
255 pub const XPS_FONT_EMBEDDING_OBFUSCATED: XPS_FONT_EMBEDDING = 2i32;
256 pub const XPS_FONT_EMBEDDING_RESTRICTED: XPS_FONT_EMBEDDING = 3i32;
257 pub const XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED: XPS_FONT_EMBEDDING = 4i32;
258 pub const XPS_IMAGE_TYPE_JPEG: XPS_IMAGE_TYPE = 1i32;
259 pub const XPS_IMAGE_TYPE_JXR: XPS_IMAGE_TYPE = 5i32;
260 pub const XPS_IMAGE_TYPE_PNG: XPS_IMAGE_TYPE = 2i32;
261 pub const XPS_IMAGE_TYPE_TIFF: XPS_IMAGE_TYPE = 3i32;
262 pub const XPS_IMAGE_TYPE_WDP: XPS_IMAGE_TYPE = 4i32;
263 pub const XPS_INTERLEAVING_OFF: XPS_INTERLEAVING = 1i32;
264 pub const XPS_INTERLEAVING_ON: XPS_INTERLEAVING = 2i32;
265 pub const XPS_LINE_CAP_FLAT: XPS_LINE_CAP = 1i32;
266 pub const XPS_LINE_CAP_ROUND: XPS_LINE_CAP = 2i32;
267 pub const XPS_LINE_CAP_SQUARE: XPS_LINE_CAP = 3i32;
268 pub const XPS_LINE_CAP_TRIANGLE: XPS_LINE_CAP = 4i32;
269 pub const XPS_LINE_JOIN_BEVEL: XPS_LINE_JOIN = 2i32;
270 pub const XPS_LINE_JOIN_MITER: XPS_LINE_JOIN = 1i32;
271 pub const XPS_LINE_JOIN_ROUND: XPS_LINE_JOIN = 3i32;
272 pub const XPS_OBJECT_TYPE_CANVAS: XPS_OBJECT_TYPE = 1i32;
273 pub const XPS_OBJECT_TYPE_GEOMETRY: XPS_OBJECT_TYPE = 5i32;
274 pub const XPS_OBJECT_TYPE_GLYPHS: XPS_OBJECT_TYPE = 2i32;
275 pub const XPS_OBJECT_TYPE_IMAGE_BRUSH: XPS_OBJECT_TYPE = 7i32;
276 pub const XPS_OBJECT_TYPE_LINEAR_GRADIENT_BRUSH: XPS_OBJECT_TYPE = 8i32;
277 pub const XPS_OBJECT_TYPE_MATRIX_TRANSFORM: XPS_OBJECT_TYPE = 4i32;
278 pub const XPS_OBJECT_TYPE_PATH: XPS_OBJECT_TYPE = 3i32;
279 pub const XPS_OBJECT_TYPE_RADIAL_GRADIENT_BRUSH: XPS_OBJECT_TYPE = 9i32;
280 pub const XPS_OBJECT_TYPE_SOLID_COLOR_BRUSH: XPS_OBJECT_TYPE = 6i32;
281 pub const XPS_OBJECT_TYPE_VISUAL_BRUSH: XPS_OBJECT_TYPE = 10i32;
282 pub const XPS_SEGMENT_STROKE_PATTERN_ALL: XPS_SEGMENT_STROKE_PATTERN = 1i32;
283 pub const XPS_SEGMENT_STROKE_PATTERN_MIXED: XPS_SEGMENT_STROKE_PATTERN = 3i32;
284 pub const XPS_SEGMENT_STROKE_PATTERN_NONE: XPS_SEGMENT_STROKE_PATTERN = 2i32;
285 pub const XPS_SEGMENT_TYPE_ARC_LARGE_CLOCKWISE: XPS_SEGMENT_TYPE = 1i32;
286 pub const XPS_SEGMENT_TYPE_ARC_LARGE_COUNTERCLOCKWISE: XPS_SEGMENT_TYPE = 2i32;
287 pub const XPS_SEGMENT_TYPE_ARC_SMALL_CLOCKWISE: XPS_SEGMENT_TYPE = 3i32;
288 pub const XPS_SEGMENT_TYPE_ARC_SMALL_COUNTERCLOCKWISE: XPS_SEGMENT_TYPE = 4i32;
289 pub const XPS_SEGMENT_TYPE_BEZIER: XPS_SEGMENT_TYPE = 5i32;
290 pub const XPS_SEGMENT_TYPE_LINE: XPS_SEGMENT_TYPE = 6i32;
291 pub const XPS_SEGMENT_TYPE_QUADRATIC_BEZIER: XPS_SEGMENT_TYPE = 7i32;
292 pub const XPS_SIGNATURE_STATUS_BROKEN: XPS_SIGNATURE_STATUS = 3i32;
293 pub const XPS_SIGNATURE_STATUS_INCOMPLETE: XPS_SIGNATURE_STATUS = 2i32;
294 pub const XPS_SIGNATURE_STATUS_INCOMPLIANT: XPS_SIGNATURE_STATUS = 1i32;
295 pub const XPS_SIGNATURE_STATUS_QUESTIONABLE: XPS_SIGNATURE_STATUS = 4i32;
296 pub const XPS_SIGNATURE_STATUS_VALID: XPS_SIGNATURE_STATUS = 5i32;
297 pub const XPS_SIGN_FLAGS_IGNORE_MARKUP_COMPATIBILITY: XPS_SIGN_FLAGS = 1i32;
298 pub const XPS_SIGN_FLAGS_NONE: XPS_SIGN_FLAGS = 0i32;
299 pub const XPS_SIGN_POLICY_ALL: XPS_SIGN_POLICY = 15i32;
300 pub const XPS_SIGN_POLICY_CORE_PROPERTIES: XPS_SIGN_POLICY = 1i32;
301 pub const XPS_SIGN_POLICY_DISCARD_CONTROL: XPS_SIGN_POLICY = 8i32;
302 pub const XPS_SIGN_POLICY_NONE: XPS_SIGN_POLICY = 0i32;
303 pub const XPS_SIGN_POLICY_PRINT_TICKET: XPS_SIGN_POLICY = 4i32;
304 pub const XPS_SIGN_POLICY_SIGNATURE_RELATIONSHIPS: XPS_SIGN_POLICY = 2i32;
305 pub const XPS_SPREAD_METHOD_PAD: XPS_SPREAD_METHOD = 1i32;
306 pub const XPS_SPREAD_METHOD_REFLECT: XPS_SPREAD_METHOD = 2i32;
307 pub const XPS_SPREAD_METHOD_REPEAT: XPS_SPREAD_METHOD = 3i32;
308 pub const XPS_STYLE_SIMULATION_BOLD: XPS_STYLE_SIMULATION = 3i32;
309 pub const XPS_STYLE_SIMULATION_BOLDITALIC: XPS_STYLE_SIMULATION = 4i32;
310 pub const XPS_STYLE_SIMULATION_ITALIC: XPS_STYLE_SIMULATION = 2i32;
311 pub const XPS_STYLE_SIMULATION_NONE: XPS_STYLE_SIMULATION = 1i32;
312 pub const XPS_THUMBNAIL_SIZE_LARGE: XPS_THUMBNAIL_SIZE = 4i32;
313 pub const XPS_THUMBNAIL_SIZE_MEDIUM: XPS_THUMBNAIL_SIZE = 3i32;
314 pub const XPS_THUMBNAIL_SIZE_SMALL: XPS_THUMBNAIL_SIZE = 2i32;
315 pub const XPS_THUMBNAIL_SIZE_VERYSMALL: XPS_THUMBNAIL_SIZE = 1i32;
316 pub const XPS_TILE_MODE_FLIPX: XPS_TILE_MODE = 3i32;
317 pub const XPS_TILE_MODE_FLIPXY: XPS_TILE_MODE = 5i32;
318 pub const XPS_TILE_MODE_FLIPY: XPS_TILE_MODE = 4i32;
319 pub const XPS_TILE_MODE_NONE: XPS_TILE_MODE = 1i32;
320 pub const XPS_TILE_MODE_TILE: XPS_TILE_MODE = 2i32;
321 pub const XpsOMObjectFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe974d26d_3d9b_4d47_88cc_3872f2dc3585);
322 pub const XpsOMThumbnailGenerator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7e4a23e2_b969_4761_be35_1a8ced58e323);
323 pub const XpsSignatureManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb0c43320_2315_44a2_b70a_0943a140a8ee);
324 pub type PRINTER_DEVICE_CAPABILITIES = u16;
325 pub type PRINT_WINDOW_FLAGS = u32;
326 pub type PSINJECT_POINT = u16;
327 pub type XPS_COLOR_INTERPOLATION = i32;
328 pub type XPS_COLOR_TYPE = i32;
329 pub type XPS_DASH_CAP = i32;
330 pub type XPS_DOCUMENT_TYPE = i32;
331 pub type XPS_FILL_RULE = i32;
332 pub type XPS_FONT_EMBEDDING = i32;
333 pub type XPS_IMAGE_TYPE = i32;
334 pub type XPS_INTERLEAVING = i32;
335 pub type XPS_LINE_CAP = i32;
336 pub type XPS_LINE_JOIN = i32;
337 pub type XPS_OBJECT_TYPE = i32;
338 pub type XPS_SEGMENT_STROKE_PATTERN = i32;
339 pub type XPS_SEGMENT_TYPE = i32;
340 pub type XPS_SIGNATURE_STATUS = i32;
341 pub type XPS_SIGN_FLAGS = i32;
342 pub type XPS_SIGN_POLICY = i32;
343 pub type XPS_SPREAD_METHOD = i32;
344 pub type XPS_STYLE_SIMULATION = i32;
345 pub type XPS_THUMBNAIL_SIZE = i32;
346 pub type XPS_TILE_MODE = i32;
347 #[repr(C)]
348 pub struct DOCINFOA {
349 pub cbSize: i32,
350 pub lpszDocName: ::windows_sys::core::PCSTR,
351 pub lpszOutput: ::windows_sys::core::PCSTR,
352 pub lpszDatatype: ::windows_sys::core::PCSTR,
353 pub fwType: u32,
354 }
355 impl ::core::marker::Copy for DOCINFOA {}
356 impl ::core::clone::Clone for DOCINFOA {
357 fn clone(&self) -> Self {
358 *self
359 }
360 }
361 #[repr(C)]
362 pub struct DOCINFOW {
363 pub cbSize: i32,
364 pub lpszDocName: ::windows_sys::core::PCWSTR,
365 pub lpszOutput: ::windows_sys::core::PCWSTR,
366 pub lpszDatatype: ::windows_sys::core::PCWSTR,
367 pub fwType: u32,
368 }
369 impl ::core::marker::Copy for DOCINFOW {}
370 impl ::core::clone::Clone for DOCINFOW {
371 fn clone(&self) -> Self {
372 *self
373 }
374 }
375 #[repr(C)]
376 #[doc = "Required features: `\"Win32_Foundation\"`"]
377 #[cfg(feature = "Win32_Foundation")]
378 pub struct DRAWPATRECT {
379 pub ptPosition: super::super::Foundation::POINT,
380 pub ptSize: super::super::Foundation::POINT,
381 pub wStyle: u16,
382 pub wPattern: u16,
383 }
384 #[cfg(feature = "Win32_Foundation")]
385 impl ::core::marker::Copy for DRAWPATRECT {}
386 #[cfg(feature = "Win32_Foundation")]
387 impl ::core::clone::Clone for DRAWPATRECT {
388 fn clone(&self) -> Self {
389 *self
390 }
391 }
392 pub type HPTPROVIDER = isize;
393 #[repr(C)]
394 pub struct PSFEATURE_CUSTPAPER {
395 pub lOrientation: i32,
396 pub lWidth: i32,
397 pub lHeight: i32,
398 pub lWidthOffset: i32,
399 pub lHeightOffset: i32,
400 }
401 impl ::core::marker::Copy for PSFEATURE_CUSTPAPER {}
402 impl ::core::clone::Clone for PSFEATURE_CUSTPAPER {
403 fn clone(&self) -> Self {
404 *self
405 }
406 }
407 #[repr(C)]
408 #[doc = "Required features: `\"Win32_Foundation\"`"]
409 #[cfg(feature = "Win32_Foundation")]
410 pub struct PSFEATURE_OUTPUT {
411 pub bPageIndependent: super::super::Foundation::BOOL,
412 pub bSetPageDevice: super::super::Foundation::BOOL,
413 }
414 #[cfg(feature = "Win32_Foundation")]
415 impl ::core::marker::Copy for PSFEATURE_OUTPUT {}
416 #[cfg(feature = "Win32_Foundation")]
417 impl ::core::clone::Clone for PSFEATURE_OUTPUT {
418 fn clone(&self) -> Self {
419 *self
420 }
421 }
422 #[repr(C)]
423 pub struct PSINJECTDATA {
424 pub DataBytes: u32,
425 pub InjectionPoint: PSINJECT_POINT,
426 pub PageNumber: u16,
427 }
428 impl ::core::marker::Copy for PSINJECTDATA {}
429 impl ::core::clone::Clone for PSINJECTDATA {
430 fn clone(&self) -> Self {
431 *self
432 }
433 }
434 #[repr(C)]
435 pub struct XPS_COLOR {
436 pub colorType: XPS_COLOR_TYPE,
437 pub value: XPS_COLOR_0,
438 }
439 impl ::core::marker::Copy for XPS_COLOR {}
440 impl ::core::clone::Clone for XPS_COLOR {
441 fn clone(&self) -> Self {
442 *self
443 }
444 }
445 #[repr(C)]
446 pub union XPS_COLOR_0 {
447 pub sRGB: XPS_COLOR_0_1,
448 pub scRGB: XPS_COLOR_0_2,
449 pub context: XPS_COLOR_0_0,
450 }
451 impl ::core::marker::Copy for XPS_COLOR_0 {}
452 impl ::core::clone::Clone for XPS_COLOR_0 {
453 fn clone(&self) -> Self {
454 *self
455 }
456 }
457 #[repr(C)]
458 pub struct XPS_COLOR_0_0 {
459 pub channelCount: u8,
460 pub channels: [f32; 9],
461 }
462 impl ::core::marker::Copy for XPS_COLOR_0_0 {}
463 impl ::core::clone::Clone for XPS_COLOR_0_0 {
464 fn clone(&self) -> Self {
465 *self
466 }
467 }
468 #[repr(C)]
469 pub struct XPS_COLOR_0_1 {
470 pub alpha: u8,
471 pub red: u8,
472 pub green: u8,
473 pub blue: u8,
474 }
475 impl ::core::marker::Copy for XPS_COLOR_0_1 {}
476 impl ::core::clone::Clone for XPS_COLOR_0_1 {
477 fn clone(&self) -> Self {
478 *self
479 }
480 }
481 #[repr(C)]
482 pub struct XPS_COLOR_0_2 {
483 pub alpha: f32,
484 pub red: f32,
485 pub green: f32,
486 pub blue: f32,
487 }
488 impl ::core::marker::Copy for XPS_COLOR_0_2 {}
489 impl ::core::clone::Clone for XPS_COLOR_0_2 {
490 fn clone(&self) -> Self {
491 *self
492 }
493 }
494 #[repr(C)]
495 pub struct XPS_DASH {
496 pub length: f32,
497 pub gap: f32,
498 }
499 impl ::core::marker::Copy for XPS_DASH {}
500 impl ::core::clone::Clone for XPS_DASH {
501 fn clone(&self) -> Self {
502 *self
503 }
504 }
505 #[repr(C)]
506 pub struct XPS_GLYPH_INDEX {
507 pub index: i32,
508 pub advanceWidth: f32,
509 pub horizontalOffset: f32,
510 pub verticalOffset: f32,
511 }
512 impl ::core::marker::Copy for XPS_GLYPH_INDEX {}
513 impl ::core::clone::Clone for XPS_GLYPH_INDEX {
514 fn clone(&self) -> Self {
515 *self
516 }
517 }
518 #[repr(C)]
519 pub struct XPS_GLYPH_MAPPING {
520 pub unicodeStringStart: u32,
521 pub unicodeStringLength: u16,
522 pub glyphIndicesStart: u32,
523 pub glyphIndicesLength: u16,
524 }
525 impl ::core::marker::Copy for XPS_GLYPH_MAPPING {}
526 impl ::core::clone::Clone for XPS_GLYPH_MAPPING {
527 fn clone(&self) -> Self {
528 *self
529 }
530 }
531 #[repr(C)]
532 pub struct XPS_MATRIX {
533 pub m11: f32,
534 pub m12: f32,
535 pub m21: f32,
536 pub m22: f32,
537 pub m31: f32,
538 pub m32: f32,
539 }
540 impl ::core::marker::Copy for XPS_MATRIX {}
541 impl ::core::clone::Clone for XPS_MATRIX {
542 fn clone(&self) -> Self {
543 *self
544 }
545 }
546 #[repr(C)]
547 pub struct XPS_POINT {
548 pub x: f32,
549 pub y: f32,
550 }
551 impl ::core::marker::Copy for XPS_POINT {}
552 impl ::core::clone::Clone for XPS_POINT {
553 fn clone(&self) -> Self {
554 *self
555 }
556 }
557 #[repr(C)]
558 pub struct XPS_RECT {
559 pub x: f32,
560 pub y: f32,
561 pub width: f32,
562 pub height: f32,
563 }
564 impl ::core::marker::Copy for XPS_RECT {}
565 impl ::core::clone::Clone for XPS_RECT {
566 fn clone(&self) -> Self {
567 *self
568 }
569 }
570 #[repr(C)]
571 pub struct XPS_SIZE {
572 pub width: f32,
573 pub height: f32,
574 }
575 impl ::core::marker::Copy for XPS_SIZE {}
576 impl ::core::clone::Clone for XPS_SIZE {
577 fn clone(&self) -> Self {
578 *self
579 }
580 }
581 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
582 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
583 pub type ABORTPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Graphics::Gdi::HDC, param1: i32) -> super::super::Foundation::BOOL>;