20#define NONAMELESSUNION
21#define NONAMELESSSTRUCT
29#define WIN32_NO_STATUS
63 {
'_',
'_',
'A',
'S',
'S',
'O',
'C',
'I',
'A',
'T',
'O',
'R',
'S',0};
65 {
'W',
'i',
'n',
'3',
'2',
'_',
'B',
'a',
's',
'e',
'B',
'o',
'a',
'r',
'd',0};
67 {
'W',
'i',
'n',
'3',
'2',
'_',
'B',
'I',
'O',
'S',0};
69 {
'W',
'i',
'n',
'3',
'2',
'_',
'C',
'D',
'R',
'O',
'M',
'D',
'r',
'i',
'v',
'e',0};
71 {
'W',
'i',
'n',
'3',
'2',
'_',
'C',
'o',
'm',
'p',
'u',
't',
'e',
'r',
'S',
'y',
's',
't',
'e',
'm',0};
73 {
'W',
'i',
'n',
'3',
'2',
'_',
'C',
'o',
'm',
'p',
'u',
't',
'e',
'r',
'S',
'y',
's',
't',
'e',
'm',
'P',
'r',
'o',
'd',
'u',
'c',
't',0};
75 {
'C',
'I',
'M',
'_',
'D',
'a',
't',
'a',
'F',
'i',
'l',
'e',0};
77 {
'W',
'i',
'n',
'3',
'2',
'_',
'D',
'e',
's',
'k',
't',
'o',
'p',
'M',
'o',
'n',
'i',
't',
'o',
'r',0};
79 {
'W',
'i',
'n',
'3',
'2',
'_',
'D',
'i',
'r',
'e',
'c',
't',
'o',
'r',
'y',0};
81 {
'W',
'i',
'n',
'3',
'2',
'_',
'D',
'i',
's',
'k',
'D',
'r',
'i',
'v',
'e',0};
83 {
'W',
'i',
'n',
'3',
'2',
'_',
'D',
'i',
's',
'k',
'D',
'r',
'i',
'v',
'e',
'T',
'o',
'D',
'i',
's',
'k',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',0};
85 {
'W',
'i',
'n',
'3',
'2',
'_',
'D',
'i',
's',
'k',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',0};
87 {
'W',
'i',
'n',
'3',
'2',
'_',
'D',
'i',
's',
'p',
'l',
'a',
'y',
'C',
'o',
'n',
't',
'r',
'o',
'l',
'l',
'e',
'r',
88 'C',
'o',
'n',
'f',
'i',
'g',
'u',
'r',
'a',
't',
'i',
'o',
'n',0};
90 {
'W',
'i',
'n',
'3',
'2',
'_',
'I',
'P',
'4',
'R',
'o',
'u',
't',
'e',
'T',
'a',
'b',
'l',
'e',0};
92 {
'W',
'i',
'n',
'3',
'2',
'_',
'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',0};
94 {
'C',
'I',
'M',
'_',
'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',0};
96 {
'W',
'i',
'n',
'3',
'2',
'_',
'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
'T',
'o',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',0};
98 {
'W',
'i',
'n',
'3',
'2',
'_',
'N',
'e',
't',
'w',
'o',
'r',
'k',
'A',
'd',
'a',
'p',
't',
'e',
'r',0};
100 {
'W',
'i',
'n',
'3',
'2',
'_',
'N',
'e',
't',
'w',
'o',
'r',
'k',
'A',
'd',
'a',
'p',
't',
'e',
'r',
101 'C',
'o',
'n',
'f',
'i',
'g',
'u',
'r',
'a',
't',
'i',
'o',
'n',0};
103 {
'W',
'i',
'n',
'3',
'2',
'_',
'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
105 {
'_',
'_',
'P',
'A',
'R',
'A',
'M',
'E',
'T',
'E',
'R',
'S',0};
107 {
'W',
'i',
'n',
'3',
'2',
'_',
'P',
'h',
'y',
's',
'i',
'c',
'a',
'l',
'M',
'e',
'd',
'i',
'a',0};
109 {
'W',
'i',
'n',
'3',
'2',
'_',
'P',
'h',
'y',
's',
'i',
'c',
'a',
'l',
'M',
'e',
'm',
'o',
'r',
'y',0};
111 {
'W',
'i',
'n',
'3',
'2',
'_',
'P',
'n',
'P',
'E',
'n',
't',
'i',
't',
'y',0};
113 {
'W',
'i',
'n',
'3',
'2',
'_',
'P',
'r',
'i',
'n',
't',
'e',
'r',0};
115 {
'_',
'_',
'W',
'I',
'N',
'3',
'2',
'_',
'P',
'R',
'O',
'C',
'E',
'S',
'S',
'_',
'G',
'E',
'T',
'O',
'W',
116 'N',
'E',
'R',
'_',
'O',
'U',
'T',0};
118 {
'W',
'i',
'n',
'3',
'2',
'_',
'P',
'r',
'o',
'c',
'e',
's',
's',
'o',
'r',0};
120 {
'C',
'I',
'M',
'_',
'P',
'r',
'o',
'c',
'e',
's',
's',
'o',
'r',0};
122 {
'_',
'_',
'Q',
'U',
'A',
'L',
'I',
'F',
'I',
'E',
'R',
'S',0};
124 {
'W',
'i',
'n',
'3',
'2',
'_',
'Q',
'u',
'i',
'c',
'k',
'F',
'i',
'x',
'E',
'n',
'g',
'i',
'n',
'e',
'e',
'r',
'i',
'n',
'g',0};
126 {
'W',
'i',
'n',
'3',
'2',
'_',
'S',
'I',
'D',0};
128 {
'W',
'i',
'n',
'3',
'2',
'_',
'S',
'o',
'u',
'n',
'd',
'D',
'e',
'v',
'i',
'c',
'e',0};
130 {
'W',
'i',
'n',
'3',
'2',
'_',
'S',
'y',
's',
't',
'e',
'm',
'E',
'n',
'c',
'l',
'o',
's',
'u',
'r',
'e',0};
133 {
'W',
'i',
'n',
'3',
'2',
'_',
'V',
'i',
'd',
'e',
'o',
'C',
'o',
'n',
't',
'r',
'o',
'l',
'l',
'e',
'r',0};
136 {
'W',
'i',
'n',
'3',
'2',
'_',
'W',
'i',
'n',
'S',
'A',
'T',0};
139 {
'A',
'c',
'c',
'o',
'u',
'n',
't',
'N',
'a',
'm',
'e',0};
141 {
'A',
'c',
'c',
'e',
'p',
't',
'P',
'a',
'u',
's',
'e',0};
143 {
'A',
'c',
'c',
'e',
'p',
't',
'S',
't',
'o',
'p',0};
145 {
'A',
'c',
'c',
'e',
's',
's',
'M',
'a',
's',
'k',0};
148 {
'A',
'd',
'a',
'p',
't',
'e',
'r',
'D',
'A',
'C',
'T',
'y',
'p',
'e',0};
150 {
'A',
'd',
'a',
'p',
't',
'e',
'r',
'R',
'A',
'M',0};
153 {
'A',
'd',
'a',
'p',
't',
'e',
'r',
'T',
'y',
'p',
'e',0};
155 {
'A',
'd',
'a',
'p',
't',
'e',
'r',
'T',
'y',
'p',
'e',
'I',
'D',0};
157 {
'A',
'd',
'd',
'r',
'e',
's',
's',
'W',
'i',
'd',
't',
'h',0};
159 {
'A',
'n',
't',
'e',
'c',
'e',
'd',
'e',
'n',
't',0};
161 {
'A',
'r',
'c',
'h',
'i',
't',
'e',
'c',
't',
'u',
'r',
'e',0};
163 {
'A',
's',
's',
'o',
'c',
'C',
'l',
'a',
's',
's',0};
165 {
'A',
's',
's',
'o',
'c',
'i',
'a',
't',
'o',
'r',0};
167 {
'A',
't',
't',
'r',
'i',
'b',
'u',
't',
'e',
's',0};
170 {
'A',
'v',
'a',
'i',
'l',
'a',
'b',
'i',
'l',
'i',
't',
'y',0};
173 {
'B',
'i',
'n',
'a',
'r',
'y',
'R',
'e',
'p',
'r',
'e',
's',
'e',
'n',
't',
'a',
't',
'i',
'o',
'n',0};
175 {
'B',
'i',
't',
's',
'P',
'e',
'r',
'P',
'i',
'x',
'e',
'l',0};
177 {
'B',
'o',
'o',
'l',
'V',
'a',
'l',
'u',
'e',0};
179 {
'B',
'o',
'o',
't',
'a',
'b',
'l',
'e',0};
181 {
'B',
'o',
'o',
't',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',0};
183 {
'B',
'u',
'i',
'l',
'd',
'N',
'u',
'm',
'b',
'e',
'r',0};
185 {
'C',
'a',
'p',
'a',
'c',
'i',
't',
'y',0};
187 {
'C',
'a',
'p',
't',
'i',
'o',
'n',0};
189 {
'C',
'h',
'a',
's',
's',
'i',
's',
'T',
'y',
'p',
'e',
's',0};
191 {
'C',
'l',
'a',
's',
's',0};
193 {
'C',
'o',
'd',
'e',
'S',
'e',
't',0};
195 {
'C',
'o',
'm',
'm',
'a',
'n',
'd',
'L',
'i',
'n',
'e',0};
197 {
'C',
'o',
'n',
'f',
'i',
'g',
'M',
'a',
'n',
'a',
'g',
'e',
'r',
'E',
'r',
'r',
'o',
'r',
'C',
'o',
'd',
'e',0};
199 {
'C',
'o',
'n',
'f',
'i',
'g',
'u',
'r',
'e',
'd',
'C',
'l',
'o',
'c',
'k',
'S',
'p',
'e',
'e',
'd',0};
201 {
'C',
'o',
'u',
'n',
't',
'r',
'y',
'C',
'o',
'd',
'e',0};
203 {
'C',
'P',
'U',
'S',
'c',
'o',
'r',
'e',0};
205 {
'C',
'p',
'u',
'S',
't',
'a',
't',
'u',
's',0};
207 {
'C',
'S',
'D',
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
209 {
'C',
'S',
'N',
'a',
'm',
'e',0};
212 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'B',
'i',
't',
's',
'P',
'e',
'r',
'P',
'i',
'x',
'e',
'l',0};
215 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'C',
'l',
'o',
'c',
'k',
'S',
'p',
'e',
'e',
'd',0};
217 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'H',
'o',
'r',
'i',
'z',
'o',
'n',
't',
'a',
'l',
'R',
'e',
's',
'o',
'l',
'u',
't',
'i',
'o',
'n',0};
219 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'L',
'a',
'n',
'g',
'u',
'a',
'g',
'e',0};
221 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'R',
'e',
'f',
'r',
'e',
's',
'h',
'R',
'a',
't',
'e',0};
223 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'S',
'c',
'a',
'n',
'M',
'o',
'd',
'e',0};
225 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'T',
'i',
'm',
'e',
'Z',
'o',
'n',
'e',0};
227 {
'C',
'u',
'r',
'r',
'e',
'n',
't',
'V',
'e',
'r',
't',
'i',
'c',
'a',
'l',
'R',
'e',
's',
'o',
'l',
'u',
't',
'i',
'o',
'n',0};
229 {
'D',
'3',
'D',
'S',
'c',
'o',
'r',
'e',0};
231 {
'D',
'a',
't',
'a',
'W',
'i',
'd',
't',
'h',0};
233 {
'D',
'e',
'f',
'a',
'u',
'l',
't',
'I',
'P',
'G',
'a',
't',
'e',
'w',
'a',
'y',0};
235 {
'D',
'e',
'f',
'a',
'u',
'l',
't',
'V',
'a',
'l',
'u',
'e',0};
237 {
'D',
'e',
'p',
'e',
'n',
'd',
'e',
'n',
't',0};
239 {
'D',
'e',
's',
'c',
'r',
'i',
'p',
't',
'i',
'o',
'n',0};
241 {
'D',
'e',
's',
't',
'i',
'n',
'a',
't',
'i',
'o',
'n',0};
243 {
'D',
'e',
'v',
'i',
'c',
'e',
'I',
'd',0};
245 {
'D',
'e',
'v',
'i',
'c',
'e',
'L',
'o',
'c',
'a',
't',
'o',
'r',0};
247 {
'D',
'H',
'C',
'P',
'E',
'n',
'a',
'b',
'l',
'e',
'd',0};
249 {
'D',
'i',
'r',
'e',
'c',
't',
'i',
'o',
'n',0};
251 {
'D',
'i',
's',
'k',
'S',
'c',
'o',
'r',
'e',0};
253 {
'D',
'i',
's',
'p',
'l',
'a',
'y',
'N',
'a',
'm',
'e',0};
255 {
'D',
'i',
's',
'k',
'I',
'n',
'd',
'e',
'x',0};
257 {
'D',
'N',
'S',
'H',
'o',
's',
't',
'N',
'a',
'm',
'e',0};
259 {
'D',
'N',
'S',
'S',
'e',
'r',
'v',
'e',
'r',
'S',
'e',
'a',
'r',
'c',
'h',
'O',
'r',
'd',
'e',
'r',0};
261 {
'D',
'o',
'm',
'a',
'i',
'n',0};
263 {
'D',
'o',
'm',
'a',
'i',
'n',
'R',
'o',
'l',
'e',0};
265 {
'D',
'r',
'i',
'v',
'e',0};
267 {
'D',
'r',
'i',
'v',
'e',
'r',
'D',
'a',
't',
'e',0};
269 {
'D',
'r',
'i',
'v',
'e',
'r',
'N',
'a',
'm',
'e',0};
272 {
'D',
'r',
'i',
'v',
'e',
'r',
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
275 {
'D',
'r',
'i',
'v',
'e',
'T',
'y',
'p',
'e',0};
277 {
'F',
'a',
'm',
'i',
'l',
'y',0};
279 {
'F',
'i',
'l',
'e',
'S',
'y',
's',
't',
'e',
'm',0};
281 {
'F',
'l',
'a',
'v',
'o',
'r',0};
283 {
'F',
'r',
'e',
'e',
'S',
'p',
'a',
'c',
'e',0};
285 {
'F',
'r',
'e',
'e',
'P',
'h',
'y',
's',
'i',
'c',
'a',
'l',
'M',
'e',
'm',
'o',
'r',
'y',0};
287 {
'H',
'a',
'n',
'd',
'l',
'e',0};
289 {
'G',
'r',
'a',
'p',
'h',
'i',
'c',
's',
'S',
'c',
'o',
'r',
'e',0};
291 {
'H',
'o',
'r',
'i',
'z',
'o',
'n',
't',
'a',
'l',
'R',
'e',
's',
'o',
'l',
'u',
't',
'i',
'o',
'n',0};
293 {
'H',
'o',
't',
'F',
'i',
'x',
'I',
'D',0};
297 {
'I',
'd',
'e',
'n',
't',
'i',
'f',
'i',
'c',
'a',
't',
'i',
'o',
'n',
'C',
'o',
'd',
'e',0};
299 {
'I',
'd',
'e',
'n',
't',
'i',
'f',
'y',
'i',
'n',
'g',
'N',
'u',
'm',
'b',
'e',
'r',0};
301 {
'I',
'n',
'd',
'e',
'x',0};
303 {
'I',
'n',
's',
't',
'a',
'l',
'l',
'D',
'a',
't',
'e',0};
305 {
'I',
'n',
's',
't',
'a',
'l',
'l',
'e',
'd',
'D',
'i',
's',
'p',
'l',
'a',
'y',
'D',
'r',
'i',
'v',
'e',
'r',
's',0};
307 {
'I',
'n',
't',
'e',
'r',
'f',
'a',
'c',
'e',
'I',
'n',
'd',
'e',
'x',0};
309 {
'I',
'n',
't',
'e',
'r',
'f',
'a',
'c',
'e',
'T',
'y',
'p',
'e',0};
311 {
'I',
'n',
't',
'e',
'g',
'e',
'r',
'V',
'a',
'l',
'u',
'e',0};
313 {
'I',
'P',
'A',
'd',
'd',
'r',
'e',
's',
's',0};
315 {
'I',
'P',
'C',
'o',
'n',
'n',
'e',
'c',
't',
'i',
'o',
'n',
'M',
'e',
't',
'r',
'i',
'c',0};
317 {
'I',
'P',
'E',
'n',
'a',
'b',
'l',
'e',
'd',0};
319 {
'I',
'P',
'S',
'u',
'b',
'n',
'e',
't',0};
321 {
'L',
'a',
's',
't',
'B',
'o',
'o',
't',
'U',
'p',
'T',
'i',
'm',
'e',0};
323 {
'L',
'e',
'v',
'e',
'l',0};
325 {
'L',
'o',
'c',
'a',
'l',0};
327 {
'L',
'o',
'c',
'a',
'l',
'D',
'a',
't',
'e',
'T',
'i',
'm',
'e',0};
329 {
'L',
'o',
'c',
'a',
'l',
'e',0};
331 {
'L',
'o',
'c',
'a',
't',
'i',
'o',
'n',0};
333 {
'L',
'o',
'c',
'k',
'P',
'r',
'e',
's',
'e',
'n',
't',0};
335 {
'M',
'A',
'C',
'A',
'd',
'd',
'r',
'e',
's',
's',0};
337 {
'M',
'a',
'n',
'u',
'f',
'a',
'c',
't',
'u',
'r',
'e',
'r',0};
339 {
'M',
'a',
'x',
'C',
'l',
'o',
'c',
'k',
'S',
'p',
'e',
'e',
'd',0};
341 {
'M',
'e',
'd',
'i',
'a',
'T',
'y',
'p',
'e',0};
343 {
'M',
'e',
'm',
'b',
'e',
'r',0};
345 {
'M',
'e',
'm',
'o',
'r',
'y',
'S',
'c',
'o',
'r',
'e',0};
347 {
'M',
'e',
'm',
'o',
'r',
'y',
'T',
'y',
'p',
'e',0};
349 {
'M',
'e',
't',
'h',
'o',
'd',0};
351 {
'M',
'o',
'd',
'e',
'l',0};
353 {
'N',
'e',
't',
'C',
'o',
'n',
'n',
'e',
'c',
't',
'i',
'o',
'n',
'S',
't',
'a',
't',
'u',
's',0};
355 {
'N',
'e',
't',
'w',
'o',
'r',
'k',0};
357 {
'N',
'e',
'x',
't',
'H',
'o',
'p',0};
359 {
'N',
'u',
'm',
'b',
'e',
'r',
'O',
'f',
'C',
'o',
'r',
'e',
's',0};
361 {
'N',
'u',
'm',
'b',
'e',
'r',
'O',
'f',
'L',
'o',
'g',
'i',
'c',
'a',
'l',
'P',
'r',
'o',
'c',
'e',
's',
's',
'o',
'r',
's',0};
363 {
'N',
'u',
'm',
'b',
'e',
'r',
'O',
'f',
'P',
'r',
'o',
'c',
'e',
's',
's',
'o',
'r',
's',0};
365 {
'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',
'S',
'K',
'U',0};
367 {
'O',
'S',
'A',
'r',
'c',
'h',
'i',
't',
'e',
'c',
't',
'u',
'r',
'e',0};
369 {
'O',
'S',
'L',
'a',
'n',
'g',
'u',
'a',
'g',
'e',0};
371 {
'O',
'S',
'P',
'r',
'o',
'd',
'u',
'c',
't',
'S',
'u',
'i',
't',
'e',0};
373 {
'O',
'S',
'T',
'y',
'p',
'e',0};
375 {
'P',
'a',
'r',
'a',
'm',
'e',
't',
'e',
'r',0};
377 {
'P',
'a',
'r',
't',
'N',
'u',
'm',
'b',
'e',
'r',0};
379 {
'P',
'h',
'y',
's',
'i',
'c',
'a',
'l',
'A',
'd',
'a',
'p',
't',
'e',
'r',0};
381 {
'P',
'i',
'x',
'e',
'l',
's',
'P',
'e',
'r',
'X',
'L',
'o',
'g',
'i',
'c',
'a',
'l',
'I',
'n',
'c',
'h',0};
383 {
'P',
'N',
'P',
'D',
'e',
'v',
'i',
'c',
'e',
'I',
'D',0};
385 {
'P',
'o',
'r',
't',
'N',
'a',
'm',
'e',0};
387 {
'P',
'a',
'r',
'e',
'n',
't',
'P',
'r',
'o',
'c',
'e',
's',
's',
'I',
'D',0};
389 {
'P',
'r',
'i',
'm',
'a',
'r',
'y',0};
391 {
'P',
'r',
'o',
'c',
'e',
's',
's',
'I',
'D',0};
393 {
'P',
'r',
'o',
'c',
'e',
's',
's',
'o',
'r',
'I',
'd',0};
395 {
'P',
'r',
'o',
'c',
'e',
's',
's',
'o',
'r',
'T',
'y',
'p',
'e',0};
397 {
'P',
'r',
'o',
'd',
'u',
'c',
't',0};
399 {
'P',
'r',
'o',
'd',
'u',
'c',
't',
'N',
'a',
'm',
'e',0};
401 {
'R',
'e',
'f',
'e',
'r',
'e',
'n',
'c',
'e',
'd',
'D',
'o',
'm',
'a',
'i',
'n',
'N',
'a',
'm',
'e',0};
403 {
'R',
'e',
'l',
'e',
'a',
's',
'e',
'D',
'a',
't',
'e',0};
405 {
'R',
'e',
'v',
'i',
's',
'i',
'o',
'n',0};
407 {
'S',
'e',
'r',
'i',
'a',
'l',
'N',
'u',
'm',
'b',
'e',
'r',0};
409 {
'S',
'e',
'r',
'v',
'i',
'c',
'e',
'P',
'a',
'c',
'k',
'M',
'a',
'j',
'o',
'r',
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
411 {
'S',
'e',
'r',
'v',
'i',
'c',
'e',
'P',
'a',
'c',
'k',
'M',
'i',
'n',
'o',
'r',
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
413 {
'S',
'e',
'r',
'v',
'i',
'c',
'e',
'T',
'y',
'p',
'e',0};
415 {
'S',
'e',
't',
't',
'i',
'n',
'g',
'I',
'D',0};
417 {
'S',
'K',
'U',
'N',
'u',
'm',
'b',
'e',
'r',0};
419 {
'S',
'M',
'B',
'I',
'O',
'S',
'B',
'I',
'O',
'S',
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
421 {
'S',
'M',
'B',
'I',
'O',
'S',
'M',
'a',
'j',
'o',
'r',
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
423 {
'S',
'M',
'B',
'I',
'O',
'S',
'M',
'i',
'n',
'o',
'r',
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
425 {
'S',
't',
'a',
'r',
't',
'M',
'o',
'd',
'e',0};
429 {
'S',
'i',
'd',
'L',
'e',
'n',
'g',
't',
'h',0};
433 {
'S',
'p',
'e',
'e',
'd',0};
435 {
'S',
't',
'a',
'r',
't',
'i',
'n',
'g',
'O',
'f',
'f',
's',
'e',
't',0};
437 {
'S',
't',
'a',
't',
'e',0};
439 {
'S',
't',
'a',
't',
'u',
's',0};
441 {
'S',
't',
'a',
't',
'u',
's',
'I',
'n',
'f',
'o',0};
443 {
'S',
't',
'r',
'i',
'n',
'g',
'V',
'a',
'l',
'u',
'e',0};
445 {
'S',
'u',
'i',
't',
'e',
'M',
'a',
's',
'k',0};
447 {
'S',
'y',
's',
't',
'e',
'm',
'D',
'i',
'r',
'e',
'c',
't',
'o',
'r',
'y',0};
449 {
'S',
'y',
's',
't',
'e',
'm',
'D',
'r',
'i',
'v',
'e',0};
451 {
'S',
'y',
's',
't',
'e',
'm',
'N',
'a',
'm',
'e',0};
455 {
'T',
'h',
'r',
'e',
'a',
'd',
'C',
'o',
'u',
'n',
't',0};
457 {
'T',
'i',
'm',
'e',
'T',
'a',
'k',
'e',
'n',0};
459 {
'T',
'o',
't',
'a',
'l',
'P',
'h',
'y',
's',
'i',
'c',
'a',
'l',
'M',
'e',
'm',
'o',
'r',
'y',0};
461 {
'T',
'o',
't',
'a',
'l',
'V',
'i',
'r',
't',
'u',
'a',
'l',
'M',
'e',
'm',
'o',
'r',
'y',
'S',
'i',
'z',
'e',0};
463 {
'T',
'o',
't',
'a',
'l',
'V',
'i',
's',
'i',
'b',
'l',
'e',
'M',
'e',
'm',
'o',
'r',
'y',
'S',
'i',
'z',
'e',0};
467 {
'U',
'n',
'i',
'q',
'u',
'e',
'I',
'd',0};
469 {
'U',
's',
'e',
'r',
'N',
'a',
'm',
'e',0};
473 {
'V',
'e',
'n',
'd',
'o',
'r',0};
475 {
'V',
'e',
'r',
's',
'i',
'o',
'n',0};
477 {
'V',
'e',
'r',
't',
'i',
'c',
'a',
'l',
'R',
'e',
's',
'o',
'l',
'u',
't',
'i',
'o',
'n',0};
480 {
'V',
'i',
'd',
'e',
'o',
'A',
'r',
'c',
'h',
'i',
't',
'e',
'c',
't',
'u',
'r',
'e',0};
482 {
'V',
'i',
'd',
'e',
'o',
'M',
'e',
'm',
'o',
'r',
'y',
'T',
'y',
'p',
'e',0};
484 {
'V',
'i',
'd',
'e',
'o',
'M',
'o',
'd',
'e',
'D',
'e',
's',
'c',
'r',
'i',
'p',
't',
'i',
'o',
'n',0};
486 {
'V',
'i',
'd',
'e',
'o',
'P',
'r',
'o',
'c',
'e',
's',
's',
'o',
'r',0};
489 {
'V',
'o',
'l',
'u',
'm',
'e',
'N',
'a',
'm',
'e',0};
491 {
'V',
'o',
'l',
'u',
'm',
'e',
'S',
'e',
'r',
'i',
'a',
'l',
'N',
'u',
'm',
'b',
'e',
'r',0};
493 {
'W',
'i',
'n',
'S',
'A',
'T',
'A',
's',
's',
'e',
's',
's',
'm',
'e',
'n',
't',
'S',
't',
'a',
't',
'e',0};
495 {
'W',
'i',
'n',
'S',
'P',
'R',
'L',
'e',
'v',
'e',
'l',0};
497 {
'W',
'o',
'r',
'k',
'i',
'n',
'g',
'S',
'e',
't',
'S',
'i',
'z',
'e',0};
883 {
'I',
'n',
't',
'e',
'l',
' ',
'C',
'o',
'r',
'p',
'o',
'r',
'a',
't',
'i',
'o',
'n',0};
887 {
'B',
'a',
's',
'e',
' ',
'B',
'o',
'a',
'r',
'd',0};
891 {
'D',
'e',
'f',
'a',
'u',
'l',
't',
' ',
'S',
'y',
's',
't',
'e',
'm',
' ',
'B',
'I',
'O',
'S',0};
893 {
'T',
'h',
'e',
' ',
'W',
'i',
'n',
'e',
' ',
'P',
'r',
'o',
'j',
'e',
'c',
't',0};
895 {
'2',
'0',
'1',
'2',
'0',
'6',
'0',
'8',
'0',
'0',
'0',
'0',
'0',
'0',
'.',
'0',
'0',
'0',
'0',
'0',
'0',
'+',
'0',
'0',
'0',0};
901 {
'W',
'I',
'N',
'E',
' ',
' ',
' ',
'-',
' ',
'1',0};
903 {
'C',
'D',
'-',
'R',
'O',
'M',0};
905 {
'W',
'i',
'n',
'e',
' ',
'C',
'D',
'-',
'R',
'O',
'M',
' ',
'A',
'T',
'A',
' ',
'D',
'e',
'v',
'i',
'c',
'e',0};
907 {
'I',
'D',
'E',
'\\',
'C',
'D',
'R',
'O',
'M',
'W',
'I',
'N',
'E',
'_',
'C',
'D',
'-',
'R',
'O',
'M',
908 '_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
'_',
909 '_',
'_',
'_',
'_',
'_',
'_',
'_',
'1',
'.',
'0',
'_',
'_',
'_',
'_',
'_',
'\\',
'5',
'&',
'3',
'A',
'2',
910 'A',
'5',
'8',
'5',
'4',
'&',
'0',
'&',
'1',
'.',
'0',
'.',
'0',0};
912 {
'A',
'T',
'/',
'A',
'T',
' ',
'C',
'O',
'M',
'P',
'A',
'T',
'I',
'B',
'L',
'E',0};
914 {
'W',
'O',
'R',
'K',
'G',
'R',
'O',
'U',
'P',0};
916 {
'T',
'h',
'e',
' ',
'W',
'i',
'n',
'e',
' ',
'P',
'r',
'o',
'j',
'e',
'c',
't',0};
924 {
'd',
'e',
'a',
'd',
'd',
'e',
'a',
'd',
'-',
'd',
'e',
'a',
'd',
'-',
'd',
'e',
'a',
'd',
'-',
'd',
'e',
'a',
'd',
'-',
925 'd',
'e',
'a',
'd',
'd',
'e',
'a',
'd',
'd',
'e',
'a',
'd',0};
927 {
'T',
'h',
'e',
' ',
'W',
'i',
'n',
'e',
' ',
'P',
'r',
'o',
'j',
'e',
'c',
't',0};
933 {
'(',
'S',
't',
'a',
'n',
'd',
'a',
'r',
'd',
' ',
'd',
'i',
's',
'k',
' ',
'd',
'r',
'i',
'v',
'e',
's',
')',0};
935 {
'F',
'i',
'x',
'e',
'd',
' ',
'h',
'a',
'r',
'd',
' ',
'd',
'i',
's',
'k',0};
937 {
'R',
'e',
'm',
'o',
'v',
'a',
'b',
'l',
'e',
' ',
'm',
'e',
'd',
'i',
'a',0};
939 {
'W',
'i',
'n',
'e',
' ',
'D',
'i',
's',
'k',
' ',
'D',
'r',
'i',
'v',
'e',0};
941 {
'I',
'D',
'E',
'\\',
'D',
'i',
's',
'k',
'\\',
'V',
'E',
'N',
'_',
'W',
'I',
'N',
'E',0};
943 {
'W',
'I',
'N',
'E',
'H',
'D',
'I',
'S',
'K',0};
945 {
'P',
'C',
'I',
'\\',
'V',
'E',
'N',
'_',
'8',
'0',
'8',
'6',
'&',
'D',
'E',
'V',
'_',
'1',
'0',
'0',
'E',
'&',
946 'S',
'U',
'B',
'S',
'Y',
'S',
'_',
'0',
'0',
'1',
'E',
'8',
'0',
'8',
'6',
'&',
'R',
'E',
'V',
'_',
'0',
'2',
'\\',
947 '3',
'&',
'2',
'6',
'7',
'A',
'6',
'1',
'6',
'A',
'&',
'1',
'&',
'1',
'8',0};
949 {
'3',
'2',
'-',
'b',
'i',
't',0};
951 {
'6',
'4',
'-',
'b',
'i',
't',0};
953 {
'2',
'0',
'1',
'4',
'0',
'1',
'0',
'1',
'0',
'0',
'0',
'0',
'0',
'0',
'.',
'0',
'0',
'0',
'0',
'0',
'0',
'+',
'0',
'0',
'0',0};
955 {
'1',
'2',
'3',
'4',
'5',
'-',
'O',
'E',
'M',
'-',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'-',
'1',
'2',
'3',
'4',
'5',0};
957 {
'\\',
'\\',
'.',
'\\',
'P',
'H',
'Y',
'S',
'I',
'C',
'A',
'L',
'D',
'R',
'I',
'V',
'E',
'0',0};
959 {
'h',
't',
't',
'p',
':',
'/',
'/',
'w',
'i',
'n',
'e',
'h',
'q',
'.',
'o',
'r',
'g',0};
961 {
'K',
'B',
'1',
'2',
'3',
'4',
'5',
'6',
'7',0};
963 {
'W',
'i',
'n',
'e',
' ',
'A',
'u',
'd',
'i',
'o',
' ',
'D',
'e',
'v',
'i',
'c',
'e',0};
965 {
'S',
'y',
's',
't',
'e',
'm',
' ',
'E',
'n',
'c',
'l',
'o',
's',
'u',
'r',
'e',0};
967 {
'S',
'y',
's',
't',
'e',
'm',
' ',
'E',
'n',
'c',
'l',
'o',
's',
'u',
'r',
'e',
' ',
'0',0};
971 {
'I',
'n',
't',
'e',
'g',
'r',
'a',
't',
'e',
'd',
' ',
'R',
'A',
'M',
'D',
'A',
'C',0};
973 {
'V',
'i',
'd',
'e',
'o',
'C',
'o',
'n',
't',
'r',
'o',
'l',
'l',
'e',
'r',
'1',0};
975 {
'2',
'0',
'1',
'7',
'0',
'1',
'0',
'1',
'0',
'0',
'0',
'0',
'0',
'0',
'.',
'0',
'0',
'0',
'0',
'0',
'0',
'+',
'0',
'0',
'0',0};
981 {
'M',
'o',
's',
't',
'R',
'e',
'c',
'e',
'n',
't',
'A',
's',
's',
'e',
's',
's',
'm',
'e',
'n',
't',0};
1399#define FLAVOR_ID (WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE | WBEM_FLAVOR_NOT_OVERRIDABLE |\
1400 WBEM_FLAVOR_ORIGIN_PROPAGATED)
1429 sizeof(*systemenclosure_chassistypes),
1481#include "pshpack1.h"
1547#define RSMB (('R' << 24) | ('S' << 16) | ('M' << 8) | 'B')
1557 if (prologue->
length >
len -
sizeof(*prologue) || prologue->
length <
sizeof(*hdr))
return NULL;
1559 start = (
const char *)(prologue + 1);
1568 WARN(
"invalid entry\n" );
1614 offset = (
const char *)baseboard -
buf + baseboard->
hdr.length;
1680 if (
len <
sizeof(*prologue))
return 2;
1687 if (
len <
sizeof(*prologue))
return 0;
1713 static const WCHAR fmtW[] =
1714 {
'%',
'0',
'4',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
'0',
'0',
'0',
'0',
'0',
'0',
'.',
'0',
'0',
'0',
'0',
'0',
'0',
'+',
'0',
'0',
'0',0};
1724 if (
q -
p != 2 || !
len || *
q !=
'/')
return NULL;
1725 month = (
p[0] -
'0') * 10 +
p[1] -
'0';
1729 if (
q -
p != 2 || !
len || *
q !=
'/')
return NULL;
1730 day = (
p[0] -
'0') * 10 +
p[1] -
'0';
1734 if (
q -
p == 4) year = (
p[0] -
'0') * 1000 + (
p[1] -
'0') * 100 + (
p[2] -
'0') * 10 +
p[3] -
'0';
1735 else if (
q -
p == 2) year = 1900 + (
p[0] -
'0') * 10 +
p[1] -
'0';
1795 static const WCHAR fmtW[] = {
'%',
'c',
':',0};
1804 for (
i = 0;
i < 26;
i++)
1806 if (drives & (1 <<
i))
1840 return info.NumberOfProcessors;
1862 if (num_cores) *num_cores = 0;
1863 for (
i = 0;
i <
len /
sizeof(*info);
i++)
1871 for (
j = 0;
j <
sizeof(
ULONG_PTR);
j++)
if (
info[
i].ProcessorMask & (1 <<
j)) (*num_cores)++;
1881 UINT core_relation_count = 0, package_relation_count = 0;
1887 if (num_packages) *num_packages = 1;
1905 core_relation_count++;
1910 package_relation_count++;
1916 if (num_physical) *num_physical = core_relation_count;
1917 if (num_packages) *num_packages = package_relation_count;
1918 return smt_enabled ? core_relation_count * 2 : core_relation_count;
1928 return status.ullTotalPhys;
1937 return status.ullAvailPhys;
1953 DWORD compsize, usersize;
1960 size = compsize + usersize;
1963 ret[compsize] =
'\\';
2028 static const WCHAR fmtW[] =
2029 {
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'-',
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'-',
2030 '%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'-',
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'-',
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
2031 '%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',
'%',
'0',
'2',
'X',0};
2032 static const BYTE none[] = {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff};
2043 swprintf(
ret, fmtW,
ptr[0],
ptr[1],
ptr[2],
ptr[3],
ptr[4],
ptr[5],
ptr[6],
ptr[7],
ptr[8],
ptr[9],
2209 if (*
p ==
'\\')
len += 2;
2219 if (*
p !=
'\\')
ret[
i++] = *
p;
2236 if (!
iswalpha(
p[0] ) ||
p[1] !=
':' ||
p[2] !=
'\\' ||
p[3] !=
'\\' || !
p[4])
return NULL;
2240 if (*
p ==
'\\')
return NULL;
2248 if (
p[0] ==
'\\' &&
p[1] ==
'\\')
2308 UINT left_count = 0, right_count = 0;
2312 return *
count += left_count + right_count;
2325 if (
path && len_path)
2328 ret[len_path] =
'\\';
2329 *
len += len_path + 1;
2332 *
len += len_segment;
2339 static const WCHAR slashW[] = {
'\\',0}, fmtW[] = {
'%',
'u',
'.',
'%',
'u',
'.',
'%',
'u',
'.',
'%',
'u',0};
2359 info->dwFileVersionLS >> 16,
info->dwFileVersionLS & 0xffff );
2380 for (
i = 0;
i < 26;
i++)
2382 if (!(drives & (1 <<
i)))
continue;
2387 num_expected_rows = 0;
2436 else if (num_expected_rows &&
row == num_expected_rows - 1)
2468 if (!
hdc)
return 96;
2508 for (
i = 0;
i < 26;
i++)
2510 if (!(drives & (1 <<
i)))
continue;
2515 num_expected_rows = 0;
2565 else if (num_expected_rows &&
row == num_expected_rows - 1)
2594 WCHAR root[] = {
'\\',
'\\',
'.',
'\\',
'A',
':',0};
2598 DWORD bytes_returned;
2600 free.QuadPart = 512 * 1024 * 1024;
2608 *disksize =
info.DiskSize.QuadPart;
2611 return free.QuadPart;
2616 static const WCHAR fmtW[] =
2617 {
'\\',
'\\',
'\\',
'\\',
'.',
'\\',
'\\',
'P',
'H',
'Y',
'S',
'I',
'C',
'A',
'L',
'D',
'R',
'I',
'V',
'E',
'%',
'u',0};
2627 for (
i = 0;
i < 26;
i++)
2629 if (drives & (1 <<
i))
2684 static const WCHAR pathW[] =
2685 {
'_',
'_',
'P',
'A',
'T',
'H',0};
2687 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
'W',
'i',
'n',
'3',
'2',
'_',
2688 'D',
'i',
's',
'k',
'D',
'r',
'i',
'v',
'e',0};
2689 static const WCHAR select2W[] =
2690 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
'W',
'i',
'n',
'3',
'2',
'_',
2691 'D',
'i',
's',
'k',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',0};
2706 if (!(
ret = heap_alloc_zero(
query->
view->result_count *
sizeof(*
ret) )))
goto done;
2770 static const WCHAR ntfsW[] = {
'N',
'T',
'F',
'S',0};
2780 static const WCHAR fmtW[] =
2781 {
'D',
'i',
's',
'k',
' ',
'#',
'%',
'u',
',',
' ',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',
' ',
'#',
'0',0};
2782 WCHAR device_id[32],
root[] = {
'A',
':',
'\\',0};
2791 for (
i = 0;
i < 26;
i++)
2793 if (drives & (1 <<
i))
2833 if (!
hdc)
return 32;
2865 static const WCHAR fmtW[] = {
'%',
'u',
'.',
'%',
'u',
'.',
'%',
'u',
'.',
'%',
'u',0};
2866 DWORD len =
sizeof(
"ddd.ddd.ddd.ddd");
2925 static const WCHAR fmtW[] = {
'%',
'0',
'8',
'X',0};
2936 static const WCHAR fmtW[] = {
'%',
'c',
':',0};
2937 WCHAR device_id[3],
root[] = {
'A',
':',
'\\',0};
2946 for (
i = 0;
i < 26;
i++)
2948 if (drives & (1 <<
i))
2983 static const WCHAR pathW[] =
2984 {
'_',
'_',
'P',
'A',
'T',
'H',0};
2986 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
'W',
'i',
'n',
'3',
'2',
'_',
2987 'D',
'i',
's',
'k',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',0};
2988 static const WCHAR select2W[] =
2989 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
'W',
'i',
'n',
'3',
'2',
'_',
2990 'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
' ',
'W',
'H',
'E',
'R',
'E',
' ',
2991 'D',
'r',
'i',
'v',
'e',
'T',
'y',
'p',
'e',
'=',
'2',
' ',
'O',
'R',
' ',
'D',
'r',
'i',
'v',
'e',
'T',
'y',
'p',
'e',
'=',
'3',0};
3006 if (!(
ret = heap_alloc_zero(
query->
view->result_count *
sizeof(*
ret) )))
goto done;
3085 static const WCHAR fmtW[] =
3086 {
'%',
'0',
'2',
'x',
':',
'%',
'0',
'2',
'x',
':',
'%',
'0',
'2',
'x',
':',
3087 '%',
'0',
'2',
'x',
':',
'%',
'0',
'2',
'x',
':',
'%',
'0',
'2',
'x',0};
3096 static const WCHAR ethernetW[] = {
'E',
't',
'h',
'e',
'r',
'n',
'e',
't',
' ',
'8',
'0',
'2',
'.',
'3',0};
3097 static const WCHAR wirelessW[] = {
'W',
'i',
'r',
'e',
'l',
'e',
's',
's',0};
3098 static const WCHAR firewireW[] = {
'1',
'3',
'9',
'4',0};
3099 static const WCHAR tunnelW[] = {
'T',
'u',
'n',
'n',
'e',
'l',0};
3128 static const WCHAR fmtW[] = {
'%',
'u',0};
3129 WCHAR device_id[11];
3131 IP_ADAPTER_ADDRESSES *aa, *
buffer;
3146 for (aa =
buffer; aa; aa = aa->Next)
3155 for (aa =
buffer; aa; aa = aa->Next)
3165 rec->
index = aa->u.s.IfIndex;
3173 rec->
speed = 1000000;
3201 IP_ADAPTER_GATEWAY_ADDRESS *gateway;
3207 for (gateway =
list; gateway; gateway = gateway->Next)
count++;
3215 for (gateway =
list; gateway; gateway = gateway->Next)
3227 ret->elem_size =
sizeof(*ptr);
3234 IP_ADAPTER_DNS_SERVER_ADDRESS *
server;
3261 ret->elem_size =
sizeof(*ptr);
3271 IP_ADAPTER_UNICAST_ADDRESS_LH *
address;
3297 ret->elem_size =
sizeof(*ptr);
3304 IP_ADAPTER_UNICAST_ADDRESS_LH *
address;
3328 if (ConvertLengthToIpv4Mask(
address->OnLinkPrefixLength, &
addr.sin_addr.S_un.S_addr ) !=
NO_ERROR
3336 static const WCHAR fmtW[] = {
'%',
'u',0};
3350 ret->elem_size =
sizeof(*ptr);
3373 IP_ADAPTER_ADDRESSES *aa, *
buffer;
3387 for (aa =
buffer; aa; aa = aa->Next)
3396 for (aa =
buffer; aa; aa = aa->Next)
3406 rec->
index = aa->u.s.IfIndex;
3434 static const WCHAR dimm0W[] = {
'D',
'I',
'M',
'M',
' ',
'0',0};
3465 devinfo.
cbSize =
sizeof(devinfo);
3504 static const WCHAR fmtW[] = {
'P',
'r',
'i',
'n',
't',
'e',
'r',
'%',
'd',0};
3562 static const WCHAR fmtW[] = {
'%',
'u',0};
3614extern void do_cpuid(
unsigned int ax,
unsigned int *
p );
3615#if defined(_MSC_VER)
3620#elif defined(__i386__)
3624 "movl 12(%esp),%eax\n\t"
3625 "movl 16(%esp),%esi\n\t"
3627 "movl %eax,(%esi)\n\t"
3628 "movl %ebx,4(%esi)\n\t"
3629 "movl %ecx,8(%esi)\n\t"
3630 "movl %edx,12(%esi)\n\t"
3634#elif defined(__x86_64__)
3638 "movq %rcx,%rax\n\t"
3639 "movq %rdx,%rsi\n\t"
3641 "movl %eax,(%rsi)\n\t"
3642 "movl %ebx,4(%rsi)\n\t"
3643 "movl %ecx,8(%rsi)\n\t"
3644 "movl %edx,12(%rsi)\n\t"
3657 unsigned int model, family_id = (reg0 & (0x0f << 8)) >> 8;
3659 model = (reg0 & (0x0f << 4)) >> 4;
3660 if (family_id == 6 || family_id == 15) model |= (reg0 & (0x0f << 16)) >> 12;
3663 *family = family_id;
3664 if (family_id == 15) *family += (reg0 & (0xff << 20)) >> 20;
3666 *stepping = reg0 & 0x0f;
3672 unsigned char *
p = (
unsigned char *)regs;
3679 unsigned int tmp, regs[4] = {0, 0, 0, 0};
3697 static const WCHAR fmtW[] =
3698 {
'%',
's',
' ',
'F',
'a',
'm',
'i',
'l',
'y',
' ',
'%',
'u',
' ',
3699 'M',
'o',
'd',
'e',
'l',
' ',
'%',
'u',
' ',
'S',
't',
'e',
'p',
'p',
'i',
'n',
'g',
' ',
'%',
'u',0};
3700 static const WCHAR x86W[] = {
'x',
'8',
'6',0};
3701 static const WCHAR intel64W[] = {
'I',
'n',
't',
'e',
'l',
'6',
'4',0};
3702 static const WCHAR amd64W[] = {
'A',
'M',
'D',
'6',
'4',0};
3703 static const WCHAR authenticamdW[] = {
'A',
'u',
't',
'h',
'e',
'n',
't',
'i',
'c',
'A',
'M',
'D',0};
3705 WCHAR manufacturer[13];
3706 unsigned int regs[4] = {0, 0, 0, 0}, family, model, stepping;
3710 else if (!
wcscmp( manufacturer, authenticamdW )) arch = amd64W;
3711 else arch = intel64W;
3720 static const WCHAR fmtW[] =
3721 {
'M',
'o',
'd',
'e',
'l',
' ',
'%',
'u',
',',
' ',
'S',
't',
'e',
'p',
'p',
'i',
'n',
'g',
' ',
'%',
'u',0};
3722 unsigned int regs[4] = {0, 0, 0, 0}, model, stepping;
3731 unsigned int regs[4] = {0, 0, 0, 0};
3737 static const WCHAR fmtW[] = {
'%',
'0',
'8',
'X',
'%',
'0',
'8',
'X',0};
3738 unsigned int regs[4] = {0, 0, 0, 0};
3741 swprintf( processor_id, fmtW, regs[3], regs[0] );
3745 unsigned int regs[4] = {0, 0, 0, 0};
3749 if (regs[0] >= 0x80000004)
3791 static const WCHAR fmtW[] = {
'C',
'P',
'U',
'%',
'u',0};
3821 for (
i = 0;
i < num_packages;
i++)
3843 rec->
num_cores = num_physical / num_packages;
3867 static const WCHAR fmtW[] =
3868 {
'%',
'0',
'4',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
3869 '.',
'%',
'0',
'6',
'u',
'+',
'0',
'0',
'0',0};
3883 static const WCHAR fmtW[] =
3884 {
'%',
'0',
'4',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
'%',
'0',
'2',
'u',
3885 '.',
'%',
'0',
'6',
'u',
'%',
'+',
'0',
'3',
'd',0};
3926 static const WCHAR fmtW[] = {
'%',
'u',0};
3945 static const WCHAR fmtW[] = {
'%',
'u',0};
3952 static const WCHAR windowsW[] =
3953 {
'M',
'i',
'c',
'r',
'o',
's',
'o',
'f',
't',
' ',
'W',
'i',
'n',
'd',
'o',
'w',
's',
' '};
3954 static const WCHAR win2000W[] =
3955 {
'2',
'0',
'0',
'0',
' ',
'P',
'r',
'o',
'f',
'e',
's',
's',
'i',
'o',
'n',
'a',
'l',0};
3956 static const WCHAR win2003W[] =
3957 {
'S',
'e',
'r',
'v',
'e',
'r',
' ',
'2',
'0',
'0',
'3',
' ',
'S',
't',
'a',
'n',
'd',
'a',
'r',
'd',
' ',
'E',
'd',
'i',
't',
'i',
'o',
'n',0};
3958 static const WCHAR winxpW[] =
3959 {
'X',
'P',
' ',
'P',
'r',
'o',
'f',
'e',
's',
's',
'i',
'o',
'n',
'a',
'l',0};
3960 static const WCHAR winxp64W[] =
3961 {
'X',
'P',
' ',
'P',
'r',
'o',
'f',
'e',
's',
's',
'i',
'o',
'n',
'a',
'l',
' ',
'x',
'6',
'4',
' ',
'E',
'd',
'i',
't',
'i',
'o',
'n',0};
3962 static const WCHAR vistaW[] =
3963 {
'V',
'i',
's',
't',
'a',
' ',
'U',
'l',
't',
'i',
'm',
'a',
't',
'e',0};
3964 static const WCHAR win2008W[] =
3965 {
'S',
'e',
'r',
'v',
'e',
'r',
' ',
'2',
'0',
'0',
'8',
' ',
'S',
't',
'a',
'n',
'd',
'a',
'r',
'd',0};
3966 static const WCHAR win7W[] =
3967 {
'7',
' ',
'P',
'r',
'o',
'f',
'e',
's',
's',
'i',
'o',
'n',
'a',
'l',0};
3968 static const WCHAR win2008r2W[] =
3969 {
'S',
'e',
'r',
'v',
'e',
'r',
' ',
'2',
'0',
'0',
'8',
' ',
'R',
'2',
' ',
'S',
't',
'a',
'n',
'd',
'a',
'r',
'd',0};
3970 static const WCHAR win8W[] =
3971 {
'8',
' ',
'P',
'r',
'o',0};
3972 static const WCHAR win81W[] =
3973 {
'8',
'.',
'1',
' ',
'P',
'r',
'o',0};
3974 static const WCHAR win10W[] =
3975 {
'1',
'0',
' ',
'P',
'r',
'o',0};
3980 memcpy(
ret, windowsW,
sizeof(windowsW) );
3987 else memcpy(
ret +
len, win2008r2W,
sizeof(win2008r2W) );
4005 static const WCHAR partitionW[] =
4006 {
'|',
'C',
':',
'\\',
'W',
'I',
'N',
'D',
'O',
'W',
'S',
'|',
'\\',
'D',
'e',
'v',
'i',
'c',
'e',
'\\',
4007 'H',
'a',
'r',
'd',
'd',
'i',
's',
'k',
'0',
'\\',
'P',
'a',
'r',
't',
'i',
't',
'i',
'o',
'n',
'1',0};
4018 static const WCHAR fmtW[] = {
'%',
'u',
'.',
'%',
'u',
'.',
'%',
'u',0};
4027 GetProductInfo( 6, 0, 0, 0, &
ret );
4037 return -(
info.Bias +
info.StandardBias);
4042 static const WCHAR wineprojectW[] = {
'T',
'h',
'e',
' ',
'W',
'i',
'n',
'e',
' ',
'P',
'r',
'o',
'j',
'e',
'c',
't',0};
4095 static const WCHAR filesystem_driverW[] =
4096 {
'F',
'i',
'l',
'e',
' ',
'S',
'y',
's',
't',
'e',
'm',
' ',
'D',
'r',
'i',
'v',
'e',
'r',0};
4097 static const WCHAR kernel_driverW[] =
4098 {
'K',
'e',
'r',
'n',
'e',
'l',
' ',
'D',
'r',
'i',
'v',
'e',
'r',0};
4099 static const WCHAR own_processW[] =
4100 {
'O',
'w',
'n',
' ',
'P',
'r',
'o',
'c',
'e',
's',
's',0};
4101 static const WCHAR share_processW[] =
4102 {
'S',
'h',
'a',
'r',
'e',
' ',
'P',
'r',
'o',
'c',
'e',
's',
's',0};
4108 else ERR(
"unhandled type 0x%08x\n",
type);
4113 static const WCHAR runningW[] =
4114 {
'R',
'u',
'n',
'n',
'i',
'n',
'g',0};
4115 static const WCHAR start_pendingW[] =
4116 {
'S',
't',
'a',
'r',
't',
' ',
'P',
'e',
'n',
'd',
'i',
'n',
'g',0};
4117 static const WCHAR stop_pendingW[] =
4118 {
'S',
't',
'o',
'p',
' ',
'P',
'e',
'n',
'd',
'i',
'n',
'g',0};
4119 static const WCHAR stoppedW[] =
4120 {
'S',
't',
'o',
'p',
'p',
'e',
'd',0};
4122 {
'U',
'n',
'k',
'n',
'o',
'w',
'n',0};
4137 static const WCHAR bootW[] = {
'B',
'o',
'o',
't',0};
4138 static const WCHAR systemW[] = {
'S',
'y',
's',
't',
'e',
'm',0};
4139 static const WCHAR autoW[] = {
'A',
'u',
't',
'o',0};
4140 static const WCHAR manualW[] = {
'M',
'a',
'n',
'u',
'a',
'l',0};
4141 static const WCHAR disabledW[] = {
'D',
'i',
's',
'a',
'b',
'l',
'e',
'd',0};
4142 static const WCHAR unknownW[] = {
'U',
'n',
'k',
'n',
'o',
'w',
'n',0};
4152 ERR(
"unknown mode 0x%x\n",
mode);
4202 if (!
ret)
goto done;
4266 ret->elem_size =
sizeof(*ptr);
4313 memset( &attrs, 0,
sizeof(attrs) );
4314 attrs.
Length =
sizeof(attrs);
4334 TRACE(
"created 1 row\n");
4353 offset = (
const char *)chassis -
buf + chassis->
hdr.length;
4372 return (chassis->
type & 0x80) ? -1 : 0;
4385 dst->elem_size =
src->elem_size;
4408 ret->elem_size =
sizeof(*types);
4451 static const WCHAR fmtW[] =
4452 {
'P',
'C',
'I',
'\\',
'V',
'E',
'N',
'_',
'%',
'0',
'4',
'X',
'&',
'D',
'E',
'V',
'_',
'%',
'0',
'4',
'X',
4453 '&',
'S',
'U',
'B',
'S',
'Y',
'S',
'_',
'%',
'0',
'8',
'X',
'&',
'R',
'E',
'V',
'_',
'%',
'0',
'2',
'X',
'\\',
4454 '0',
'&',
'D',
'E',
'A',
'D',
'B',
'E',
'E',
'F',
'&',
'0',
'&',
'D',
'E',
'A',
'D',0};
4464#define HW_VENDOR_AMD 0x1002
4465#define HW_VENDOR_NVIDIA 0x10de
4466#define HW_VENDOR_VMWARE 0x15ad
4467#define HW_VENDOR_INTEL 0x8086
4473 static const WCHAR driver_amdW[] = {
'a',
't',
'i',
'c',
'f',
'x',
'3',
'2',
'.',
'd',
'l',
'l',0};
4474 static const WCHAR driver_intelW[] = {
'i',
'g',
'd',
'u',
'm',
'd',
'i',
'm',
'3',
'2',
'.',
'd',
'l',
'l',0};
4475 static const WCHAR driver_nvidiaW[] = {
'n',
'v',
'd',
'3',
'd',
'u',
'm',
'.',
'd',
'l',
'l',0};
4476 static const WCHAR driver_wineW[] = {
'w',
'i',
'n',
'e',
'.',
'd',
'l',
'l',0};
4483 return driver_nvidiaW;
4485 return driver_intelW;
4486 return driver_wineW;
4491 static const WCHAR fmtW[] = {
'%',
'u',
' ',
'x',
' ',
'%',
'u',
' ',
'x',
' ',
'%',
'I',
'6',
'4',
'u',
' ',
'c',
'o',
'l',
'o',
'r',
's',0};
4496 DXGI_ADAPTER_DESC
desc;
4505 hr = CreateDXGIFactory( &IID_IDXGIFactory, (
void **)&
factory );
4556#define C(c) sizeof(c)/sizeof(c[0]), c
4557#define D(d) sizeof(d)/sizeof(d[0]), 0, (BYTE *)d
unsigned long long UINT64
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
INT WSAAPI GetNameInfoW(IN CONST SOCKADDR *pSockaddr, IN socklen_t SockaddrLength, OUT PWCHAR pNodeBuffer, IN DWORD NodeBufferSize, OUT PWCHAR pServiceBuffer, IN DWORD ServiceBufferSize, IN INT Flags)
static struct sockaddr_in sa
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
static void * heap_realloc(void *mem, size_t len)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static void list_add_tail(struct list_entry *head, struct list_entry *entry)
static const WCHAR prop_cpuscoreW[]
static void get_processor_name(WCHAR *name)
static const WCHAR prop_dependentW[]
static const WCHAR diskdrive_serialW[]
static const WCHAR prop_servicetypeW[]
static const WCHAR prop_videomodedescriptionW[]
static enum fill_status fill_desktopmonitor(struct table *table, const struct expr *cond)
static WCHAR * get_dnshostname(IP_ADAPTER_UNICAST_ADDRESS *addr)
static const WCHAR prop_descriptionW[]
static const WCHAR os_32bitW[]
static const WCHAR class_networkadapterconfigW[]
static const WCHAR prop_adaptertypeidW[]
static WCHAR * get_baseboard_manufacturer(const char *buf, UINT len)
static const WCHAR class_process_getowner_outW[]
static const struct column col_directory[]
static const WCHAR systemenclosure_systemenclosureW[]
static const struct column col_service[]
static WCHAR * get_username(void)
static const WCHAR baseboard_manufacturerW[]
static const WCHAR cdromdrive_mediatypeW[]
static enum fill_status fill_operatingsystem(struct table *table, const struct expr *cond)
static const struct column col_cdromdrive[]
static INT16 get_currenttimezone(void)
static enum fill_status fill_logicaldisktopartition(struct table *table, const struct expr *cond)
static const WCHAR compsys_modelW[]
static const WCHAR prop_pixelsperxlogicalinchW[]
static const WCHAR prop_csnameW[]
static WCHAR * get_file_version(const WCHAR *filename)
static const WCHAR prop_serialnumberW[]
static const WCHAR prop_manufacturerW[]
void init_table_list(void)
static const WCHAR prop_graphicsscoreW[]
static void get_processor_manufacturer(WCHAR *manufacturer, UINT len)
static enum fill_status fill_service(struct table *table, const struct expr *cond)
static UINT32 get_bitsperpixel(UINT *hres, UINT *vres)
static const WCHAR prop_idW[]
static const WCHAR compsysproduct_uuidW[]
static const WCHAR cdromdrive_pnpdeviceidW[]
static const WCHAR prop_totalvirtualmemorysizeW[]
static WCHAR * get_bios_smbiosbiosversion(const char *buf, UINT len)
static const WCHAR prop_numlogicalprocessorsW[]
static WCHAR * build_dirname(const WCHAR *path, UINT *ret_len)
static const struct column col_bios[]
static const WCHAR class_sounddeviceW[]
static enum fill_status fill_logicaldisk(struct table *table, const struct expr *cond)
static const WCHAR prop_architectureW[]
static const struct column col_param[]
static const WCHAR prop_partnumberW[]
static const struct column col_diskpartition[]
static const struct column col_baseboard[]
static const struct column col_pnpentity[]
static enum fill_status fill_bios(struct table *table, const struct expr *cond)
static const struct record_systemsecurity data_systemsecurity[]
static const WCHAR prop_directionW[]
static const WCHAR prop_localW[]
static const WCHAR prop_systemdriveW[]
static WCHAR * get_ip4_string(DWORD addr)
static const WCHAR class_associatorsW[]
static const WCHAR prop_numprocessorsW[]
static WCHAR * get_cmdline(DWORD process_id)
static const WCHAR prop_typeW[]
static const WCHAR prop_strvalueW[]
static WCHAR * get_referenceddomainname(LSA_REFERENCED_DOMAIN_LIST *domain)
static struct array * get_ipaddress(IP_ADAPTER_UNICAST_ADDRESS_LH *list)
static const WCHAR class_biosW[]
static const WCHAR prop_freespaceW[]
static const WCHAR class_directoryW[]
static WCHAR * get_systemdirectory(void)
static enum fill_status fill_directory(struct table *table, const struct expr *cond)
static WCHAR * get_smbios_string(BYTE id, const char *buf, UINT offset, UINT buflen)
static const WCHAR videocontroller_driverversionW[]
static const WCHAR prop_devicelocatorW[]
static const struct column col_networkadapterconfig[]
static UINT64 get_available_physical_memory(void)
static WCHAR * get_filesystem(const WCHAR *root)
static const WCHAR prop_familyW[]
static const WCHAR prop_volumenameW[]
static const struct column col_operatingsystem[]
static const WCHAR prop_memorytypeW[]
static const WCHAR prop_currenthorizontalresW[]
static const WCHAR systemenclosure_tagW[]
static const struct column col_quickfixengineering[]
static enum fill_status fill_networkadapterconfig(struct table *table, const struct expr *cond)
static const WCHAR prop_acceptstopW[]
static const WCHAR physicalmedia_tagW[]
static const WCHAR prop_systemdirectoryW[]
static const WCHAR prop_speedW[]
static const WCHAR prop_currentscanmodeW[]
static void free_assocations(struct association *assoc, UINT count)
static UINT get_logical_processor_count(UINT *num_physical, UINT *num_packages)
static const WCHAR diskdrive_modelW[]
static UINT64 get_total_physical_memory(void)
static const WCHAR quickfixengineering_captionW[]
static const WCHAR prop_currentlanguageW[]
static const WCHAR diskdrive_mediatype_removableW[]
static const WCHAR prop_uuidW[]
static const struct column col_compsys[]
static const WCHAR prop_handleW[]
static const WCHAR prop_macaddressW[]
static const WCHAR class_paramsW[]
static enum fill_status fill_process(struct table *table, const struct expr *cond)
static UINT16 systemenclosure_chassistypes[]
static const WCHAR prop_indexW[]
static const WCHAR prop_ipconnectionmetricW[]
static struct array * get_binaryrepresentation(PSID sid, UINT len)
static const WCHAR class_compsysproductW[]
static const WCHAR prop_assocclassW[]
static const WCHAR baseboard_serialnumberW[]
static const WCHAR prop_localdatetimeW[]
static const WCHAR prop_osproductsuiteW[]
static const WCHAR compsysproduct_nameW[]
static const WCHAR prop_drivernameW[]
static const WCHAR class_displaycontrollerconfigW[]
static void regs_to_str(unsigned int *regs, unsigned int len, WCHAR *buffer)
static const WCHAR os_64bitW[]
static const WCHAR prop_currentclockspeedW[]
static const WCHAR prop_identifyingnumberW[]
static const WCHAR prop_interfaceindexW[]
static const WCHAR prop_winsatassessmentstateW[]
static UINT get_processor_currentclockspeed(UINT index)
static const WCHAR prop_osarchitectureW[]
static const WCHAR prop_diskscoreW[]
static const WCHAR class_physicalmemoryW[]
static const WCHAR bios_releasedateW[]
static enum fill_status fill_physicalmemory(struct table *table, const struct expr *cond)
static const struct column col_logicaldisktopartition[]
static const struct record_stdregprov data_stdregprov[]
static const WCHAR prop_adaptertypeW[]
static const WCHAR * get_installeddriver(UINT vendorid)
static WCHAR * get_compsysproduct_name(const char *buf, UINT len)
static const WCHAR class_baseboardW[]
static struct array * get_systemenclosure_chassistypes(const char *buf, UINT len)
static const WCHAR os_serialnumberW[]
static UINT seed_dirs(struct dirstack *dirstack, const struct expr *cond, WCHAR root, UINT *count)
static const WCHAR prop_startmodeW[]
static const WCHAR bios_versionW[]
static const WCHAR prop_sizeW[]
static const WCHAR prop_netconnectionstatusW[]
static const WCHAR prop_commandlineW[]
static WCHAR * get_codeset(void)
static enum fill_status fill_ip4routetable(struct table *table, const struct expr *cond)
static const struct column col_sid[]
static const struct column col_systemenclosure[]
static const WCHAR prop_versionW[]
static WCHAR * get_systemdrive(void)
static const WCHAR prop_currentverticalresW[]
static const struct column col_sounddevice[]
static const WCHAR prop_tagW[]
static const WCHAR bios_descriptionW[]
static enum fill_status fill_datafile(struct table *table, const struct expr *cond)
static enum fill_status fill_processor(struct table *table, const struct expr *cond)
static const WCHAR bios_smbiosbiosversionW[]
static const WCHAR prop_freephysicalmemoryW[]
static const WCHAR * peek_dir(struct dirstack *dirstack)
static const WCHAR prop_methodW[]
static struct table builtin_classes[]
static void get_processor_caption(WCHAR *caption, UINT len)
static const WCHAR prop_availabilityW[]
static const WCHAR prop_referenceddomainnameW[]
static const WCHAR prop_interfacetypeW[]
static const WCHAR prop_bootpartitionW[]
static struct association * get_logicaldisktopartition_pairs(UINT *count)
static WCHAR * get_bios_string(BYTE id, const char *buf, UINT len)
static const struct column col_physicalmemory[]
static const WCHAR prop_processidW[]
static const WCHAR prop_maxclockspeedW[]
static WCHAR * get_osversion(OSVERSIONINFOEXW *ver)
static const struct column col_networkadapter[]
static enum fill_status fill_videocontroller(struct table *table, const struct expr *cond)
static BOOL match_row(const struct table *table, UINT row, const struct expr *cond, enum fill_status *status)
static WCHAR * get_lastbootuptime(void)
static struct array * get_dnsserversearchorder(IP_ADAPTER_DNS_SERVER_ADDRESS *list)
static const WCHAR compsys_manufacturerW[]
static const WCHAR prop_mediatypeW[]
static const WCHAR prop_videomemorytypeW[]
static unsigned int get_processor_model(unsigned int reg0, unsigned int *stepping, unsigned int *family)
static const WCHAR prop_hotfixidW[]
static BOOL push_dir(struct dirstack *dirstack, WCHAR *dir, UINT len)
static UINT64 get_freespace(const WCHAR *dir, UINT64 *disksize)
static const WCHAR prop_currentbitsperpixelW[]
static const WCHAR prop_filesystemW[]
static enum fill_status fill_diskdrive(struct table *table, const struct expr *cond)
static enum fill_status fill_displaycontrollerconfig(struct table *table, const struct expr *cond)
static const WCHAR prop_totalvisiblememorysizeW[]
static const WCHAR prop_acceptpauseW[]
static const struct column col_processor[]
static const WCHAR systemenclosure_manufacturerW[]
static const WCHAR prop_memberW[]
static WCHAR * convert_bios_date(const WCHAR *str)
static const struct record_quickfixengineering data_quickfixengineering[]
static enum fill_status fill_pnpentity(struct table *table, const struct expr *cond)
static const WCHAR prop_locationW[]
static const WCHAR prop_classW[]
static const WCHAR class_logicaldisktopartitionW[]
static struct association * get_diskdrivetodiskpartition_pairs(UINT *count)
static const WCHAR os_installdateW[]
static const struct column col_videocontroller[]
static const WCHAR class_sidW[]
static const WCHAR prop_settingidW[]
static const WCHAR class_ip4routetableW[]
static const WCHAR prop_smbiosbiosversionW[]
static const WCHAR prop_servicepackmajorW[]
static const WCHAR class_processorW[]
static WCHAR * get_oscaption(OSVERSIONINFOEXW *ver)
static const WCHAR class_compsysW[]
static const WCHAR diskdrive_interfacetypeW[]
static const WCHAR prop_parameterW[]
static const WCHAR class_qualifiersW[]
static const WCHAR prop_portnameW[]
static const WCHAR prop_accountnameW[]
static const WCHAR prop_skunumberW[]
static const WCHAR diskdrive_mediatype_fixedW[]
static const WCHAR * get_service_startmode(DWORD mode)
static const WCHAR prop_lastbootuptimeW[]
static const WCHAR prop_buildnumberW[]
static const WCHAR prop_pnpdeviceidW[]
static const WCHAR prop_capacityW[]
static const WCHAR prop_associatorW[]
static const WCHAR prop_winsprlevelW[]
static WCHAR * get_baseboard_product(const char *buf, UINT len)
static const WCHAR videocontroller_driverdateW[]
static const WCHAR winsat_timetakenW[]
static void get_processor_id(WCHAR *processor_id, UINT len)
static const WCHAR prop_datawidthW[]
static const WCHAR prop_binaryrepresentationW[]
static const WCHAR prop_codesetW[]
static const WCHAR prop_adapterramW[]
static const WCHAR class_diskdrivetodiskpartitionW[]
static const WCHAR prop_servicepackminorW[]
static enum fill_status fill_diskdrivetodiskpartition(struct table *table, const struct expr *cond)
static const struct record_param data_param[]
static const struct column col_winsat[]
static const WCHAR prop_vendorW[]
static const WCHAR prop_networkW[]
static BOOL seen_dir(struct dirstack *dirstack, const WCHAR *path)
static WCHAR * get_countrycode(void)
static struct dirstack * alloc_dirstack(UINT size)
static const WCHAR prop_smbiosminorversionW[]
static WCHAR * get_volumeserialnumber(const WCHAR *root)
static const WCHAR prop_ipenabledW[]
static const WCHAR prop_accessmaskW[]
void do_cpuid(unsigned int ax, unsigned int *p)
static const WCHAR prop_videoarchitectureW[]
static enum fill_status fill_sid(struct table *table, const struct expr *cond)
static const WCHAR prop_ipsubnet[]
static const struct record_associator data_associator[]
static WCHAR * get_localdatetime(void)
static enum fill_status fill_baseboard(struct table *table, const struct expr *cond)
static const struct column col_diskdrivetodiskpartition[]
static const WCHAR prop_releasedateW[]
static const WCHAR prop_identificationcodeW[]
static UINT16 get_bios_smbiosmajorversion(const char *buf, UINT len)
static const WCHAR prop_videoprocessorW[]
static WCHAR * get_osbuildnumber(OSVERSIONINFOEXW *ver)
static const WCHAR prop_flavorW[]
static enum fill_status fill_printer(struct table *table, const struct expr *cond)
static const WCHAR prop_cpustatusW[]
static const WCHAR prop_drivetypeW[]
static WCHAR * get_pnpdeviceid(DXGI_ADAPTER_DESC *desc)
static const WCHAR prop_systemnameW[]
static const WCHAR prop_lockpresentW[]
static const WCHAR prop_physicaladapterW[]
static const WCHAR * get_osarchitecture(void)
static const WCHAR class_diskdriveW[]
static const WCHAR prop_operatingsystemskuW[]
static const WCHAR class_processor2W[]
static const WCHAR prop_verticalresolutionW[]
static const WCHAR prop_smbiosmajorversionW[]
static const struct column col_process[]
static const WCHAR class_logicaldiskW[]
static UINT get_processor_count(void)
static WCHAR * get_compsysproduct_vendor(const char *buf, UINT len)
static const WCHAR prop_intvalueW[]
static const WCHAR prop_attributesW[]
static const WCHAR compsysproduct_vendorW[]
static const WCHAR prop_antecedentW[]
static const WCHAR class_datafileW[]
static const WCHAR compsysproduct_identifyingnumberW[]
static WCHAR * get_settingid(UINT32 index)
static WCHAR * get_osname(const WCHAR *caption)
static const WCHAR prop_driverdateW[]
static const struct array systemenclosure_chassistypes_array
static struct array * get_defaultipgateway(IP_ADAPTER_GATEWAY_ADDRESS *list)
static const WCHAR class_pnpentityW[]
static const WCHAR prop_driveW[]
static const WCHAR prop_dnshostnameW[]
static const WCHAR prop_levelW[]
static WCHAR * get_compsysproduct_version(const char *buf, UINT len)
static WCHAR * get_computername(void)
static const WCHAR * get_service_type(DWORD type)
static int get_systemenclosure_lockpresent(const char *buf, UINT len)
static const struct column col_associator[]
static void free_dirstack(struct dirstack *dirstack)
static WCHAR * get_compsysproduct_identifyingnumber(const char *buf, UINT len)
static const WCHAR prop_sidlengthW[]
static const WCHAR prop_productW[]
static const WCHAR prop_displaynameW[]
static const WCHAR videocontroller_deviceidW[]
static const WCHAR videocontroller_dactypeW[]
static WCHAR * get_baseboard_serialnumber(const char *buf, UINT len)
static const WCHAR prop_diskindexW[]
static UINT get_processor_maxclockspeed(UINT index)
static const WCHAR prop_modelW[]
static const WCHAR * get_service_state(DWORD state)
static const WCHAR cdromdrive_nameW[]
static enum fill_status fill_compsys(struct table *table, const struct expr *cond)
static const struct column col_systemsecurity[]
static const WCHAR prop_stateW[]
static const WCHAR prop_dnsserversearchorderW[]
static const WCHAR prop_localeW[]
static const WCHAR prop_numcoresW[]
static const WCHAR prop_driverversionW[]
static const struct column col_displaycontrollerconfig[]
static WCHAR * get_compsysproduct_uuid(const char *buf, UINT len)
static const WCHAR baseboard_versionW[]
static const WCHAR prop_horizontalresolutionW[]
static void get_processor_version(WCHAR *version, UINT len)
static BOOL resize_table(struct table *table, UINT row_count, UINT row_size)
static enum fill_status fill_compsysproduct(struct table *table, const struct expr *cond)
static enum fill_status fill_diskpartition(struct table *table, const struct expr *cond)
static WCHAR * get_volumename(const WCHAR *root)
static const WCHAR prop_configmanagererrorcodeW[]
static const WCHAR class_cdromdriveW[]
static WCHAR * get_locale(void)
static const WCHAR prop_pprocessidW[]
static const WCHAR compsysproduct_versionW[]
static const WCHAR videocontroller_statusW[]
static const struct column col_stdregprov[]
static const WCHAR class_quickfixengineeringW[]
static const WCHAR prop_currentrefreshrateW[]
static const WCHAR prop_usernameW[]
static const WCHAR prop_defaultipgatewayW[]
static QUERY_SERVICE_CONFIGW * query_service_config(SC_HANDLE manager, const WCHAR *name)
static const struct record_qualifier data_qualifier[]
static const WCHAR networkadapter_pnpdeviceidW[]
static const WCHAR prop_csdversionW[]
static const WCHAR prop_revisionW[]
static const WCHAR prop_nexthopW[]
static WCHAR * build_name(WCHAR drive, const WCHAR *path)
static WCHAR * build_glob(WCHAR drive, const WCHAR *path, UINT len)
static const WCHAR bios_manufacturerW[]
static const WCHAR prop_statusinfoW[]
static const WCHAR prop_oslanguageW[]
static const struct record_winsat data_winsat[]
static enum fill_status fill_systemenclosure(struct table *table, const struct expr *cond)
static WCHAR * get_bios_manufacturer(const char *buf, UINT len)
static const struct column col_physicalmedia[]
static const WCHAR prop_timetakenW[]
static const WCHAR class_networkadapterW[]
static const WCHAR prop_totalphysicalmemoryW[]
static const WCHAR prop_processoridW[]
static UINT16 get_bios_smbiosminorversion(const char *buf, UINT len)
static const WCHAR prop_deviceidW[]
static const WCHAR prop_boolvalueW[]
static const struct column col_diskdrive[]
static struct array * get_ipsubnet(IP_ADAPTER_UNICAST_ADDRESS_LH *list)
static struct array * dup_array(const struct array *src)
static enum fill_status fill_networkadapter(struct table *table, const struct expr *cond)
static const struct column col_compsysproduct[]
static WCHAR * get_mac_address(const BYTE *addr, DWORD len)
static const WCHAR prop_defaultvalueW[]
static const WCHAR prop_workingsetsizeW[]
static WCHAR * get_baseboard_string(BYTE id, const char *buf, UINT len)
static const WCHAR prop_dhcpenabledW[]
static WCHAR * get_baseboard_version(const char *buf, UINT len)
static const WCHAR prop_destinationW[]
static const WCHAR prop_currenttimezoneW[]
static WCHAR * get_systemenclosure_manufacturer(const char *buf, UINT len)
static WCHAR * append_path(const WCHAR *path, const WCHAR *segment, UINT *len)
static DWORD get_operatingsystemsku(void)
static const WCHAR class_physicalmediaW[]
static const WCHAR prop_addresswidthW[]
static const WCHAR baseboard_tagW[]
static const struct column col_desktopmonitor[]
static const WCHAR prop_d3dscoreW[]
static const WCHAR prop_ipaddressW[]
static const WCHAR prop_bootableW[]
static const WCHAR class_diskpartitionW[]
static const WCHAR prop_statusW[]
static const struct column col_ip4routetable[]
static const WCHAR class_printerW[]
static const WCHAR class_desktopmonitorW[]
static const WCHAR * get_adaptertype(DWORD type, int *id, int *physical)
static const WCHAR class_videocontrollerW[]
static void clear_dirstack(struct dirstack *dirstack)
static const struct record_sounddevice data_sounddevice[]
static const WCHAR prop_primaryW[]
static const WCHAR class_systemenclosureW[]
static const WCHAR prop_domainroleW[]
static const WCHAR prop_ostypeW[]
static const struct column col_printer[]
static const struct column col_logicaldisk[]
static const WCHAR prop_installdateW[]
static const WCHAR * find_sid_str(const struct expr *cond)
static const WCHAR prop_domainW[]
static WCHAR * get_accountname(LSA_TRANSLATED_NAME *name)
static const WCHAR prop_adapterdactypeW[]
static WCHAR * pop_dir(struct dirstack *dirstack, UINT *len)
static const WCHAR prop_configuredclockspeedW[]
static UINT32 get_pixelsperxlogicalinch(void)
static const WCHAR prop_installeddisplaydriversW[]
static enum fill_status fill_cdromdrive(struct table *table, const struct expr *cond)
static const WCHAR sounddevice_productnameW[]
static const WCHAR class_winsatW[]
static const WCHAR prop_productnameW[]
static const struct column col_datafile[]
static const WCHAR class_operatingsystemW[]
static const WCHAR prop_startingoffsetW[]
static const WCHAR prop_volumeserialnumberW[]
static const WCHAR prop_suitemaskW[]
static const struct column col_qualifier[]
static const WCHAR prop_memoryscoreW[]
static const WCHAR prop_bitsperpixelW[]
static const WCHAR compsys_domainW[]
static const WCHAR class_logicaldisk2W[]
static const WCHAR compsys_descriptionW[]
static const WCHAR diskdrive_pnpdeviceidW[]
static const WCHAR prop_captionW[]
static const struct record_physicalmedia data_physicalmedia[]
static const WCHAR prop_uniqueidW[]
static const WCHAR prop_sidW[]
static const WCHAR prop_threadcountW[]
static WCHAR * get_systemenclosure_string(BYTE id, const char *buf, UINT len)
static UINT16 get_processor_revision(void)
static const WCHAR quickfixengineering_hotfixidW[]
static const WCHAR bios_serialnumberW[]
static const WCHAR diskdrive_manufacturerW[]
static const WCHAR prop_countrycodeW[]
static WCHAR * get_compsysproduct_string(BYTE id, const char *buf, UINT len)
static const struct smbios_header * find_smbios_entry(enum smbios_type type, const char *buf, UINT len)
static const WCHAR prop_processortypeW[]
static WCHAR * get_bios_releasedate(const char *buf, UINT len)
static const WCHAR prop_chassistypesW[]
static UINT16 get_connection_status(IF_OPER_STATUS status)
while(CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext))
BOOL WINAPI GetComputerNameW(LPWSTR lpBuffer, LPDWORD lpnSize)
#define ERROR_INSUFFICIENT_BUFFER
BOOL WINAPI DeviceIoControl(IN HANDLE hDevice, IN DWORD dwIoControlCode, IN LPVOID lpInBuffer OPTIONAL, IN DWORD nInBufferSize OPTIONAL, OUT LPVOID lpOutBuffer OPTIONAL, IN DWORD nOutBufferSize OPTIONAL, OUT LPDWORD lpBytesReturned OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL)
NTSTATUS WINAPI LsaOpenPolicy(IN PLSA_UNICODE_STRING SystemName OPTIONAL, IN PLSA_OBJECT_ATTRIBUTES ObjectAttributes, IN ACCESS_MASK DesiredAccess, OUT PLSA_HANDLE PolicyHandle)
NTSTATUS WINAPI LsaLookupSids(IN LSA_HANDLE PolicyHandle, IN ULONG Count, IN PSID *Sids, OUT PLSA_REFERENCED_DOMAIN_LIST *ReferencedDomains, OUT PLSA_TRANSLATED_NAME *Names)
NTSTATUS WINAPI LsaFreeMemory(IN PVOID Buffer)
NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle)
BOOL WINAPI GetUserNameW(LPWSTR lpszName, LPDWORD lpSize)
BOOL WINAPI ConvertStringSidToSidW(LPCWSTR StringSid, PSID *Sid)
DWORD WINAPI GetLengthSid(PSID pSid)
static WCHAR * heap_strdupW(const WCHAR *str)
#define GetEnvironmentVariableW(x, y, z)
#define INVALID_HANDLE_VALUE
static const WCHAR version[]
static DOUBLE day(DOUBLE time)
BOOL WINAPI GetDiskFreeSpaceExW(IN LPCWSTR lpDirectoryName OPTIONAL, OUT PULARGE_INTEGER lpFreeBytesAvailableToCaller, OUT PULARGE_INTEGER lpTotalNumberOfBytes, OUT PULARGE_INTEGER lpTotalNumberOfFreeBytes)
UINT WINAPI GetDriveTypeW(IN LPCWSTR lpRootPathName)
HANDLE WINAPI FindFirstFileW(IN LPCWSTR lpFileName, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI FindClose(HANDLE hFindFile)
BOOL WINAPI FindNextFileW(IN HANDLE hFindFile, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI GetVolumeInformationW(IN LPCWSTR lpRootPathName, IN LPWSTR lpVolumeNameBuffer, IN DWORD nVolumeNameSize, OUT LPDWORD lpVolumeSerialNumber OPTIONAL, OUT LPDWORD lpMaximumComponentLength OPTIONAL, OUT LPDWORD lpFileSystemFlags OPTIONAL, OUT LPWSTR lpFileSystemNameBuffer OPTIONAL, IN DWORD nFileSystemNameSize)
UINT WINAPI GetSystemDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
LPWSTR WINAPI GetCommandLineW(VOID)
VOID WINAPI GetNativeSystemInfo(IN LPSYSTEM_INFO lpSystemInfo)
UINT WINAPI GetSystemFirmwareTable(_In_ DWORD FirmwareTableProviderSignature, _In_ DWORD FirmwareTableID, _Out_writes_bytes_to_opt_(BufferSize, return) PVOID pFirmwareTableBuffer, _In_ DWORD BufferSize)
VOID WINAPI GetLocalTime(OUT LPSYSTEMTIME lpSystemTime)
BOOL WINAPI Wow64RevertWow64FsRedirection(IN PVOID OldValue)
BOOL WINAPI Wow64DisableWow64FsRedirection(IN PVOID *OldValue)
BOOL WINAPI GetVersionExW(IN LPOSVERSIONINFOW lpVersionInformation)
DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation)
LANGID WINAPI GetSystemDefaultLangID(void)
INT WINAPI GetLocaleInfoW(LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len)
static const WCHAR slashW[]
BOOL WINAPI SetupDiEnumDeviceInfo(HDEVINFO devinfo, DWORD index, PSP_DEVINFO_DATA info)
HDEVINFO WINAPI SetupDiGetClassDevsW(CONST GUID *class, LPCWSTR enumstr, HWND parent, DWORD flags)
BOOL WINAPI SetupDiGetDeviceInstanceIdW(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, PWSTR DeviceInstanceId, DWORD DeviceInstanceIdSize, PDWORD RequiredSize)
BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO devinfo)
static BOOL parse_query(const WCHAR **ptr, parse_data *data, DWORD flags)
BOOL WINAPI GetFileVersionInfoW(LPCWSTR filename, DWORD handle, DWORD datasize, LPVOID data)
BOOL WINAPI VerQueryValueW(LPCVOID pBlock, LPCWSTR lpSubBlock, LPVOID *lplpBuffer, PUINT puLen)
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR filename, LPDWORD handle)
HRESULT process_get_owner(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT eval_cond(const struct table *table, UINT row, const struct expr *cond, LONGLONG *val, UINT *type)
void free_query(struct query *query)
HRESULT execute_view(struct view *view)
HRESULT get_propval(const struct view *view, UINT index, const WCHAR *name, VARIANT *ret, CIMTYPE *type, LONG *flavor)
HRESULT reg_create_key(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT reg_get_stringvalue(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT reg_enum_key(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT reg_enum_values(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT security_get_sd(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT security_set_sd(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT service_stop_service(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT service_pause_service(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT service_resume_service(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT service_start_service(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
void free_row_values(const struct table *table, UINT row)
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
static const WCHAR month[12][4]
struct nls_table * tables
static const WCHAR unknownW[]
BOOLEAN RtlTimeToTimeFields(IN PLARGE_INTEGER Time, IN PTIME_FIELDS TimeFields)
char ** glob(const char *v)
#define IOCTL_DISK_GET_DRIVE_GEOMETRY_EX
@ SystemTimeOfDayInformation
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLdouble GLdouble GLdouble GLdouble q
GLenum GLuint GLenum GLsizei const GLchar * buf
GLenum const GLvoid * addr
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
HLOCAL NTAPI LocalFree(HLOCAL hMem)
BOOL NTAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX lpBuffer)
static const WCHAR autoW[]
static const WCHAR selectW[]
static const WCHAR disabledW[]
NTSYSAPI NTSTATUS WINAPI NtQuerySystemInformationEx(SYSTEM_INFORMATION_CLASS, void *, ULONG, void *, ULONG, ULONG *)
@ SystemLogicalProcessorInformationEx
PPC_QUAL void __cpuid(int CPUInfo[], const int InfoType)
DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable, PULONG pdwSize, BOOL bOrder)
#define IF_TYPE_IEEE80211
#define IF_TYPE_SOFTWARE_LOOPBACK
#define IF_TYPE_ETHERNET_CSMACD
int JSAMPARRAY int int num_rows
#define memcpy(s1, s2, n)
static const WCHAR desc[]
static JOBOBJECTINFOCLASS LPVOID DWORD LPDWORD ret_len
static const WCHAR dotdotW[]
static const WCHAR dotW[]
#define __ASM_GLOBAL_FUNC(name, code)
static const WCHAR systemW[]
@ SystemLogicalProcessorInformation
#define PROCESSOR_ARCHITECTURE_AMD64
#define TIME_ZONE_ID_DAYLIGHT
#define FILE_ATTRIBUTE_DIRECTORY
#define PRODUCT_UNDEFINED
#define LOCALE_SYSTEM_DEFAULT
NTSTATUS NTAPI NtPowerInformation(IN POWER_INFORMATION_LEVEL PowerInformationLevel, IN PVOID InputBuffer OPTIONAL, IN ULONG InputBufferLength, OUT PVOID OutputBuffer OPTIONAL, IN ULONG OutputBufferLength)
struct _PROCESSOR_POWER_INFORMATION PROCESSOR_POWER_INFORMATION
#define POLICY_ALL_ACCESS
static struct query * create_query(void)
INT WSAAPI WSAAddressToStringW(IN LPSOCKADDR lpsaAddress, IN DWORD dwAddressLength, IN LPWSAPROTOCOL_INFOW lpProtocolInfo, OUT LPWSTR lpszAddressString, IN OUT LPDWORD lpdwAddressStringLength)
RPC_STATUS WINAPI UuidToStringW(UUID *Uuid, RPC_WSTR *StringUuid)
RPC_STATUS WINAPI RpcStringFreeW(RPC_WSTR *String)
SC_HANDLE WINAPI OpenSCManagerW(LPCWSTR lpMachineName, LPCWSTR lpDatabaseName, DWORD dwDesiredAccess)
SC_HANDLE WINAPI OpenServiceW(SC_HANDLE hSCManager, LPCWSTR lpServiceName, DWORD dwDesiredAccess)
BOOL WINAPI QueryServiceConfigW(SC_HANDLE hService, LPQUERY_SERVICE_CONFIGW lpServiceConfig, DWORD cbBufSize, LPDWORD pcbBytesNeeded)
BOOL WINAPI EnumServicesStatusExW(SC_HANDLE hSCManager, SC_ENUM_TYPE InfoLevel, DWORD dwServiceType, DWORD dwServiceState, LPBYTE lpServices, DWORD cbBufSize, LPDWORD pcbBytesNeeded, LPDWORD lpServicesReturned, LPDWORD lpResumeHandle, LPCWSTR pszGroupName)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
int __cdecl system(_In_opt_z_ const char *_Command)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
NTSYSAPI NTSTATUS NTAPI NtQuerySystemInformation(IN SYSTEM_INFORMATION_CLASS SystemInfoClass, OUT PVOID SystemInfoBuffer, IN ULONG SystemInfoBufferSize, OUT PULONG BytesReturned OPTIONAL)
IF_INDEX dwForwardIfIndex
MIB_IPFORWARDROW table[1]
ULONG dwOSVersionInfoSize
const WCHAR * manufacturer
const WCHAR * serialnumber
UINT16 smbiosmajorversion
const WCHAR * currentlanguage
const WCHAR * serialnumber
const WCHAR * releasedate
const WCHAR * identificationcode
const WCHAR * smbiosbiosversion
UINT16 smbiosminorversion
const WCHAR * description
const WCHAR * manufacturer
const WCHAR * pnpdevice_id
const WCHAR * description
const WCHAR * manufacturer
UINT32 num_logical_processors
UINT64 total_physical_memory
const WCHAR * identifyingnumber
UINT32 pixelsperxlogicalinch
const WCHAR * manufacturer
const WCHAR * pnpdevice_id
const WCHAR * interfacetype
const WCHAR * serialnumber
const WCHAR * pnpdevice_id
UINT32 verticalresolution
UINT32 horizontalresolution
const WCHAR * destination
const WCHAR * volumeserialnumber
const WCHAR * mac_address
const WCHAR * adaptertype
const WCHAR * description
UINT16 netconnection_status
const WCHAR * manufacturer
const WCHAR * pnpdevice_id
const struct array * dnsserversearchorder
const WCHAR * mac_address
const struct array * defaultipgateway
UINT32 ipconnectionmetric
const struct array * ipaddress
const struct array * ipsubnet
const WCHAR * dnshostname
const WCHAR * description
const WCHAR * installdate
UINT64 totalvisiblememorysize
const WCHAR * buildnumber
UINT64 totalvirtualmemorysize
const WCHAR * localdatetime
const WCHAR * osarchitecture
const WCHAR * systemdirectory
UINT32 operatingsystemsku
const WCHAR * systemdrive
UINT64 freephysicalmemory
const WCHAR * countrycode
const WCHAR * lastbootuptime
const WCHAR * manufacturer
const WCHAR * serialnumber
const WCHAR * devicelocator
UINT32 configuredclockspeed
UINT32 horizontalresolution
const WCHAR * commandline
const WCHAR * description
UINT32 num_logical_processors
const WCHAR * description
const WCHAR * processor_id
const WCHAR * manufacturer
const WCHAR * displayname
class_method * stop_service
const WCHAR * servicetype
class_method * pause_service
class_method * resume_service
class_method * start_service
const WCHAR * accountname
const WCHAR * referenceddomainname
const struct array * binaryrepresentation
const WCHAR * productname
class_method * enumvalues
class_method * getstringvalue
const WCHAR * manufacturer
const struct array * chassistypes
const WCHAR * description
UINT32 current_bitsperpixel
const WCHAR * adapter_dactype
const WCHAR * driverversion
const WCHAR * pnpdevice_id
const WCHAR * videomodedescription
const WCHAR * description
UINT32 current_horizontalres
const WCHAR * installeddriver
UINT32 current_verticalres
UINT32 current_refreshrate
const WCHAR * videoprocessor
UINT32 winsatassessmentstate
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl edx movl TEMP incl eax andl eax ecx incl ebx testl eax jnz xchgl ecx incl TEMP esp ecx subl ebx pushl ecx ecx edx ecx shrl ecx mm0 mm4 mm0 mm4 mm1 mm5 mm1 mm5 mm2 mm6 mm2 mm6 mm3 mm7 mm3 mm7 paddd mm0 paddd mm4 paddd mm0 paddd mm4 paddd mm0 paddd mm4 movq mm1 movq mm5 psrlq mm1 psrlq mm5 paddd mm0 paddd mm4 psrad mm0 psrad mm4 packssdw mm0 packssdw mm4 mm1 punpckldq mm0 pand mm1 pand mm0 por mm1 movq edi esi edx edi decl ecx jnz popl ecx andl ecx jecxz mm0 mm0 mm1 mm1 mm2 mm2 mm3 mm3 paddd mm0 paddd mm0 paddd mm0 movq mm1 psrlq mm1 paddd mm0 psrad mm0 packssdw mm0 movd eax movw ax
#define TH32CS_SNAPPROCESS
#define STATUS_INFO_LENGTH_MISMATCH
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
static rfbScreenInfoPtr server
static const WCHAR method_enumvaluesW[]
static const WCHAR param_valuenameW[]
static const WCHAR class_serviceW[]
HRESULT() class_method(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **)
static const WCHAR param_userW[]
static WCHAR * heap_strdupAW(const char *src)
static const WCHAR method_getownerW[]
static const WCHAR method_pauseserviceW[]
static const WCHAR method_enumkeyW[]
static const WCHAR param_namesW[]
static const WCHAR method_setsdW[]
static const WCHAR method_startserviceW[]
static const WCHAR class_stdregprovW[]
static const WCHAR param_typesW[]
static const WCHAR method_createkeyW[]
static const WCHAR method_resumeserviceW[]
static const WCHAR param_valueW[]
static const WCHAR class_processW[]
static const WCHAR method_getstringvalueW[]
static const WCHAR param_returnvalueW[]
static const WCHAR param_sdW[]
static const WCHAR class_systemsecurityW[]
static const WCHAR param_domainW[]
static const WCHAR prop_nameW[]
static const WCHAR method_getsdW[]
static const WCHAR param_defkeyW[]
static const WCHAR method_stopserviceW[]
static const WCHAR param_subkeynameW[]
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR lpDisplayName
DWORD WINAPI GetLastError(void)
DWORD WINAPI GetCurrentProcessId(void)
DWORD WINAPI GetLogicalDrives(void)
#define TIME_ZONE_ID_INVALID
#define MAX_COMPUTERNAME_LENGTH
#define ERROR_BUFFER_OVERFLOW
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
#define PRINTER_ENUM_LOCAL
WINBOOL WINAPI EnumPrintersW(DWORD Flags, LPWSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
#define SERVICE_STATE_ALL
#define SERVICE_ACCEPT_STOP
#define SC_MANAGER_ENUMERATE_SERVICE
#define SERVICE_STOP_PENDING
#define SERVICE_START_PENDING
#define SERVICE_ACCEPT_PAUSE_CONTINUE
#define SERVICE_QUERY_CONFIG
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HDC WINAPI GetDC(_In_opt_ HWND)
#define SERVICE_DEMAND_START
#define SERVICE_KERNEL_DRIVER
#define SERVICE_WIN32_SHARE_PROCESS
#define SERVICE_AUTO_START
#define SERVICE_BOOT_START
#define SERVICE_WIN32_OWN_PROCESS
#define SERVICE_SYSTEM_START
#define SERVICE_FILE_SYSTEM_DRIVER
@ RelationProcessorPackage
#define VER_NT_WORKSTATION
static unsigned int block