1 | /* $Id: uxtheme.cpp,v 1.1 2002-04-10 18:35:18 bird Exp $
|
---|
2 | *
|
---|
3 | * UxTheme.DLL Stubs - just to stop some app from loading the stupid dll.
|
---|
4 | *
|
---|
5 | * Copyright (c) 2002 knut st. osmundsen (bird@anduin.net)
|
---|
6 | *
|
---|
7 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
8 | *
|
---|
9 | */
|
---|
10 |
|
---|
11 |
|
---|
12 | /*******************************************************************************
|
---|
13 | * Defined Constants And Macros *
|
---|
14 | *******************************************************************************/
|
---|
15 |
|
---|
16 |
|
---|
17 | /*******************************************************************************
|
---|
18 | * Header Files *
|
---|
19 | *******************************************************************************/
|
---|
20 | #include <os2win.h>
|
---|
21 | #include <winnls.h>
|
---|
22 | #include <string.h>
|
---|
23 |
|
---|
24 | #include <wingdi.h>
|
---|
25 | #include <commctrl.h>
|
---|
26 |
|
---|
27 | #define DBG_LOCALLOG DBG_uxtheme
|
---|
28 | #include "dbglocal.h"
|
---|
29 |
|
---|
30 |
|
---|
31 | /*******************************************************************************
|
---|
32 | * Defined Constants And Macros *
|
---|
33 | *******************************************************************************/
|
---|
34 | #define MAX_INTLIST_COUNT 10
|
---|
35 |
|
---|
36 | /*******************************************************************************
|
---|
37 | * Structures and Typedefs *
|
---|
38 | *******************************************************************************/
|
---|
39 | typedef HANDLE HTHEME;
|
---|
40 |
|
---|
41 | typedef enum
|
---|
42 | {
|
---|
43 | PO_STATE = 0, /* Property was found in the state section. */
|
---|
44 | PO_PART = 1, /* Property was found in the part section. */
|
---|
45 | PO_CLASS = 2, /* Property was found in the class section. */
|
---|
46 | PO_GLOBAL = 3, /* Property was found in the list of global variables. */
|
---|
47 | PO_NOTFOUND = 4 /* Property was not found. */
|
---|
48 | } PROPERTYORIGIN;
|
---|
49 |
|
---|
50 |
|
---|
51 | typedef enum
|
---|
52 | {
|
---|
53 | TS_MIN, /* Receives the minimum size of a visual style part. */
|
---|
54 | TS_TRUE, /* Receives the size of the visual style part that will best fit the available space. */
|
---|
55 | TS_DRAW /* Receives the size that the theme manager uses to draw a part. */
|
---|
56 | } THEMESIZE, THEME_SIZE;
|
---|
57 |
|
---|
58 |
|
---|
59 | typedef struct _INTLIST
|
---|
60 | {
|
---|
61 | int iValueCount; /* Number of values in the list.*/
|
---|
62 | int iValues[MAX_INTLIST_COUNT]; /* List of integers. The constant MAX_INTLIST_COUNT, by definition, is equal to 10. */
|
---|
63 | } INTLIST, *PINTLIST;
|
---|
64 |
|
---|
65 |
|
---|
66 | typedef struct _MARGINS
|
---|
67 | {
|
---|
68 | int cxLeftWidth;
|
---|
69 | int cxRightWidth;
|
---|
70 | int cyTopHeight;
|
---|
71 | int cyBottomHeight;
|
---|
72 | } MARGINS, *PMARGINS;
|
---|
73 |
|
---|
74 |
|
---|
75 |
|
---|
76 | /*******************************************************************************
|
---|
77 | * Functions Prototypes *
|
---|
78 | *******************************************************************************/
|
---|
79 | extern "C" {
|
---|
80 | /*
|
---|
81 | * We doesn't have any headers for these yet.
|
---|
82 | */
|
---|
83 | HRESULT WIN32API CloseThemeData(
|
---|
84 | HTHEME hTheme
|
---|
85 | );
|
---|
86 |
|
---|
87 | HRESULT WIN32API DrawThemeBackground(
|
---|
88 | HTHEME hTheme,
|
---|
89 | HDC hdc,
|
---|
90 | int iPartId,
|
---|
91 | int iStateId,
|
---|
92 | const RECT* pRect,
|
---|
93 | const RECT* pClipRect
|
---|
94 | );
|
---|
95 |
|
---|
96 | HRESULT WIN32API DrawThemeEdge(
|
---|
97 | HTHEME hTheme,
|
---|
98 | HDC hdc,
|
---|
99 | int iPartId,
|
---|
100 | int iStateId,
|
---|
101 | const RECT* pDestRect,
|
---|
102 | UINT uEdge,
|
---|
103 | UINT uFlags,
|
---|
104 | RECT* pContentRect
|
---|
105 | );
|
---|
106 |
|
---|
107 | HRESULT WIN32API DrawThemeIcon(
|
---|
108 | HTHEME hTheme,
|
---|
109 | HDC hdc,
|
---|
110 | int iPartId,
|
---|
111 | int iStateId,
|
---|
112 | const RECT* pRect,
|
---|
113 | HIMAGELIST himl,
|
---|
114 | int iImageIndex
|
---|
115 | );
|
---|
116 |
|
---|
117 | HRESULT WIN32API DrawThemeParentBackground(
|
---|
118 | HWND hwnd,
|
---|
119 | HDC hdc,
|
---|
120 | RECT* prc
|
---|
121 | );
|
---|
122 |
|
---|
123 | HRESULT WIN32API DrawThemeText(
|
---|
124 | HTHEME hTheme,
|
---|
125 | HDC hdc,
|
---|
126 | int iPartId,
|
---|
127 | int iStateId,
|
---|
128 | LPCWSTR pszText,
|
---|
129 | int iCharCount,
|
---|
130 | DWORD dwTextFlags,
|
---|
131 | DWORD dwTextFlags2,
|
---|
132 | const RECT* pRect
|
---|
133 | );
|
---|
134 |
|
---|
135 | HRESULT WIN32API EnableThemeDialogTexture(
|
---|
136 | HWND hwnd,
|
---|
137 | DWORD dwFlags
|
---|
138 | );
|
---|
139 |
|
---|
140 | HRESULT WIN32API EnableTheming(
|
---|
141 | BOOL fEnable
|
---|
142 | );
|
---|
143 |
|
---|
144 | HRESULT WIN32API GetCurrentThemeName(
|
---|
145 | LPWSTR pszThemeFileName,
|
---|
146 | int dwMaxNameChars,
|
---|
147 | LPWSTR pszColorBuff,
|
---|
148 | int cchMaxColorChars,
|
---|
149 | LPWSTR pszSizeBuff,
|
---|
150 | int cchMaxSizeChars
|
---|
151 | );
|
---|
152 |
|
---|
153 | DWORD WIN32API GetThemeAppProperties(VOID);
|
---|
154 |
|
---|
155 | HRESULT WIN32API GetThemeBackgroundContentRect(
|
---|
156 | HTHEME hTheme,
|
---|
157 | HDC hdc,
|
---|
158 | int iPartId,
|
---|
159 | int iStateId,
|
---|
160 | const RECT* pBoundingRect,
|
---|
161 | RECT* pContentRect
|
---|
162 | );
|
---|
163 |
|
---|
164 | HRESULT WIN32API GetThemeBackgroundExtent(
|
---|
165 | HTHEME hTheme,
|
---|
166 | HDC hdc,
|
---|
167 | int iPartId,
|
---|
168 | int iStateId,
|
---|
169 | const RECT* pContentRect,
|
---|
170 | RECT* pExtentRect
|
---|
171 | );
|
---|
172 |
|
---|
173 | HRESULT WIN32API GetThemeBackgroundRegion(
|
---|
174 | HTHEME hTheme,
|
---|
175 | HDC hdc,
|
---|
176 | int iPartId,
|
---|
177 | int iStateId,
|
---|
178 | const RECT* pRect,
|
---|
179 | HRGN* pRegion
|
---|
180 | );
|
---|
181 |
|
---|
182 | HRESULT WIN32API GetThemeBool(
|
---|
183 | HTHEME hTheme,
|
---|
184 | int iPartId,
|
---|
185 | int iStateId,
|
---|
186 | int iPropId,
|
---|
187 | BOOL* pfVal
|
---|
188 | );
|
---|
189 |
|
---|
190 | HRESULT WIN32API GetThemeColor(
|
---|
191 | HTHEME hTheme,
|
---|
192 | int iPartId,
|
---|
193 | int iStateId,
|
---|
194 | int iPropId,
|
---|
195 | COLORREF* pColor
|
---|
196 | );
|
---|
197 |
|
---|
198 | HRESULT WIN32API GetThemeDocumentationProperty(
|
---|
199 | LPCWSTR pszThemeName,
|
---|
200 | LPCWSTR pszPropertyName,
|
---|
201 | LPWSTR pszValueBuff,
|
---|
202 | int cchMaxValChars
|
---|
203 | );
|
---|
204 |
|
---|
205 | HRESULT WIN32API GetThemeEnumValue(
|
---|
206 | HTHEME hTheme,
|
---|
207 | int iPartId,
|
---|
208 | int iStateId,
|
---|
209 | int iPropId,
|
---|
210 | int* piVal
|
---|
211 | );
|
---|
212 |
|
---|
213 | HRESULT WIN32API GetThemeFilename(
|
---|
214 | HTHEME hTheme,
|
---|
215 | int iPartId,
|
---|
216 | int iStateId,
|
---|
217 | int iPropId,
|
---|
218 | LPWSTR pszThemeFilename,
|
---|
219 | int cchMaxBuffChars
|
---|
220 | );
|
---|
221 |
|
---|
222 | HRESULT WIN32API GetThemeFont(
|
---|
223 | HTHEME hTheme,
|
---|
224 | HDC hdc,
|
---|
225 | int iPartId,
|
---|
226 | int iStateId,
|
---|
227 | int iPropId,
|
---|
228 | LOGFONTW* pFont
|
---|
229 | );
|
---|
230 |
|
---|
231 | HRESULT WIN32API GetThemeInt(
|
---|
232 | HTHEME hTheme,
|
---|
233 | int iPartId,
|
---|
234 | int iStateId,
|
---|
235 | int iPropId,
|
---|
236 | int* piVal
|
---|
237 | );
|
---|
238 |
|
---|
239 | HRESULT WIN32API GetThemeIntList(
|
---|
240 | HTHEME hTheme,
|
---|
241 | int iPartId,
|
---|
242 | int iStateId,
|
---|
243 | int iPropId,
|
---|
244 | INTLIST* pIntList
|
---|
245 | );
|
---|
246 |
|
---|
247 | HRESULT WIN32API GetThemeMargins(
|
---|
248 | HTHEME hTheme,
|
---|
249 | HDC hdc,
|
---|
250 | int iPartId,
|
---|
251 | int iStateId,
|
---|
252 | int iPropId,
|
---|
253 | RECT* prc,
|
---|
254 | MARGINS* pMargins
|
---|
255 | );
|
---|
256 |
|
---|
257 | HRESULT WIN32API GetThemeMetric(
|
---|
258 | HTHEME hTheme,
|
---|
259 | HDC hdc,
|
---|
260 | int iPartId,
|
---|
261 | int iStateId,
|
---|
262 | int iPropId,
|
---|
263 | int* piVal
|
---|
264 | );
|
---|
265 |
|
---|
266 | HRESULT WIN32API GetThemePartSize(
|
---|
267 | HTHEME hTheme,
|
---|
268 | HDC hdc,
|
---|
269 | int iPartId,
|
---|
270 | int iStateId,
|
---|
271 | RECT* prc,
|
---|
272 | THEMESIZE eSize,
|
---|
273 | SIZE* psz
|
---|
274 | );
|
---|
275 |
|
---|
276 | HRESULT WIN32API GetThemePosition(
|
---|
277 | HTHEME hTheme,
|
---|
278 | int iPartId,
|
---|
279 | int iStateId,
|
---|
280 | int iPropId,
|
---|
281 | POINT* pPoint
|
---|
282 | );
|
---|
283 |
|
---|
284 | HRESULT WIN32API GetThemePropertyOrigin(
|
---|
285 | HTHEME hTheme,
|
---|
286 | int iPartId,
|
---|
287 | int iStateId,
|
---|
288 | int iPropId,
|
---|
289 | PROPERTYORIGIN* pOrigin
|
---|
290 | );
|
---|
291 |
|
---|
292 | HRESULT WIN32API GetThemeRect(
|
---|
293 | HTHEME hTheme,
|
---|
294 | int iPartId,
|
---|
295 | int iStateId,
|
---|
296 | int iPropId,
|
---|
297 | RECT* pRect
|
---|
298 | );
|
---|
299 |
|
---|
300 | HRESULT WIN32API GetThemeString(
|
---|
301 | HTHEME hTheme,
|
---|
302 | int iPartId,
|
---|
303 | int iStateId,
|
---|
304 | int iPropId,
|
---|
305 | LPWSTR pszBuff,
|
---|
306 | int cchMaxBuffChars
|
---|
307 | );
|
---|
308 |
|
---|
309 | BOOL WIN32API GetThemeSysBool(
|
---|
310 | HTHEME hTheme,
|
---|
311 | int iBoolID
|
---|
312 | );
|
---|
313 |
|
---|
314 | COLORREF WIN32API GetThemeSysColor(
|
---|
315 | HTHEME hTheme,
|
---|
316 | int iColorID
|
---|
317 | );
|
---|
318 |
|
---|
319 | HBRUSH WIN32API GetThemeSysColorBrush(
|
---|
320 | HTHEME hTheme,
|
---|
321 | int iColorID
|
---|
322 | );
|
---|
323 |
|
---|
324 | HRESULT WIN32API GetThemeSysFont(
|
---|
325 | HTHEME hTheme,
|
---|
326 | int iFontID,
|
---|
327 | LOGFONTW* plf
|
---|
328 | );
|
---|
329 |
|
---|
330 | HRESULT WIN32API GetThemeSysInt(
|
---|
331 | HTHEME hTheme,
|
---|
332 | int iIntID,
|
---|
333 | int* piValue
|
---|
334 | );
|
---|
335 |
|
---|
336 | int WIN32API GetThemeSysSize(
|
---|
337 | HTHEME hTheme,
|
---|
338 | int iSizeID
|
---|
339 | );
|
---|
340 |
|
---|
341 | HRESULT WIN32API GetThemeSysString(
|
---|
342 | HTHEME hTheme,
|
---|
343 | int iStringID,
|
---|
344 | LPWSTR pszStringBuff,
|
---|
345 | int cchMaxStringChars
|
---|
346 | );
|
---|
347 |
|
---|
348 | HRESULT WIN32API GetThemeTextExtent(
|
---|
349 | HTHEME hTheme,
|
---|
350 | HDC hdc,
|
---|
351 | int iPartId,
|
---|
352 | int iStateId,
|
---|
353 | LPCWSTR pszText,
|
---|
354 | int iCharCount,
|
---|
355 | DWORD dwTextFlags,
|
---|
356 | const RECT* pBoundingRect,
|
---|
357 | RECT* pExtentRect
|
---|
358 | );
|
---|
359 |
|
---|
360 | HRESULT WIN32API GetThemeTextMetrics(
|
---|
361 | HTHEME hTheme,
|
---|
362 | HDC hdc,
|
---|
363 | int iPartId,
|
---|
364 | int iStateId,
|
---|
365 | TEXTMETRICW* ptm
|
---|
366 | );
|
---|
367 |
|
---|
368 | HTHEME WIN32API GetWindowTheme(
|
---|
369 | HWND hWnd
|
---|
370 | );
|
---|
371 |
|
---|
372 | HRESULT WIN32API HitTestThemeBackground(
|
---|
373 | HTHEME hTheme,
|
---|
374 | HDC hdc,
|
---|
375 | int iPartId,
|
---|
376 | int iStateId,
|
---|
377 | DWORD dwOptions,
|
---|
378 | const RECT* pRect,
|
---|
379 | HRGN hrgn,
|
---|
380 | POINT ptTest,
|
---|
381 | WORD* pwHitTestCode
|
---|
382 | );
|
---|
383 |
|
---|
384 | BOOL WIN32API IsAppThemed(VOID);
|
---|
385 |
|
---|
386 | BOOL WIN32API IsThemeActive(VOID);
|
---|
387 |
|
---|
388 | BOOL WIN32API IsThemeBackgroundPartiallyTransparent(
|
---|
389 | HTHEME hTheme,
|
---|
390 | int iPartId,
|
---|
391 | int iStateId
|
---|
392 | );
|
---|
393 |
|
---|
394 | BOOL WIN32API IsThemeDialogTextureEnabled(VOID);
|
---|
395 |
|
---|
396 | BOOL WIN32API IsThemePartDefined(
|
---|
397 | HTHEME hTheme,
|
---|
398 | int iPartId,
|
---|
399 | int iStateId
|
---|
400 | );
|
---|
401 |
|
---|
402 | HTHEME WIN32API OpenThemeData(
|
---|
403 | HWND hwnd,
|
---|
404 | LPCWSTR pszClassList
|
---|
405 | );
|
---|
406 |
|
---|
407 | VOID WIN32API SetThemeAppProperties(
|
---|
408 | DWORD dwFlags
|
---|
409 | );
|
---|
410 |
|
---|
411 | HRESULT WIN32API SetWindowTheme(
|
---|
412 | HWND hwnd,
|
---|
413 | LPCWSTR pszSubAppName,
|
---|
414 | LPCWSTR pszSubIdList
|
---|
415 | );
|
---|
416 |
|
---|
417 | }
|
---|
418 |
|
---|
419 |
|
---|
420 | /**
|
---|
421 | *
|
---|
422 | * @returns
|
---|
423 | * @param hTheme
|
---|
424 | * @status stub
|
---|
425 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
426 | */
|
---|
427 | HRESULT WIN32API CloseThemeData(
|
---|
428 | HTHEME hTheme
|
---|
429 | )
|
---|
430 | {
|
---|
431 | dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n", hTheme));
|
---|
432 | return S_OK;
|
---|
433 | }
|
---|
434 |
|
---|
435 |
|
---|
436 | /**
|
---|
437 | *
|
---|
438 | * @returns
|
---|
439 | * @param hTheme
|
---|
440 | * @param hdc
|
---|
441 | * @param iPartId
|
---|
442 | * @param iStateId
|
---|
443 | * @param pRect
|
---|
444 | * @param pClipRect
|
---|
445 | * @status stub
|
---|
446 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
447 | */
|
---|
448 | HRESULT WIN32API DrawThemeBackground(
|
---|
449 | HTHEME hTheme,
|
---|
450 | HDC hdc,
|
---|
451 | int iPartId,
|
---|
452 | int iStateId,
|
---|
453 | const RECT* pRect,
|
---|
454 | const RECT* pClipRect
|
---|
455 | )
|
---|
456 | {
|
---|
457 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
458 | hTheme,
|
---|
459 | hdc,
|
---|
460 | iPartId,
|
---|
461 | iStateId,
|
---|
462 | pRect,
|
---|
463 | pClipRect));
|
---|
464 | return S_OK;
|
---|
465 | }
|
---|
466 |
|
---|
467 |
|
---|
468 | /**
|
---|
469 | *
|
---|
470 | * @returns
|
---|
471 | * @param hTheme
|
---|
472 | * @param hdc
|
---|
473 | * @param iPartId
|
---|
474 | * @param iStateId
|
---|
475 | * @param pDestRect
|
---|
476 | * @param uEdge
|
---|
477 | * @param uFlags
|
---|
478 | * @param pContentRect
|
---|
479 | * @status stub
|
---|
480 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
481 | */
|
---|
482 | HRESULT WIN32API DrawThemeEdge(
|
---|
483 | HTHEME hTheme,
|
---|
484 | HDC hdc,
|
---|
485 | int iPartId,
|
---|
486 | int iStateId,
|
---|
487 | const RECT* pDestRect,
|
---|
488 | UINT uEdge,
|
---|
489 | UINT uFlags,
|
---|
490 | RECT* pContentRect
|
---|
491 | )
|
---|
492 | {
|
---|
493 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
494 | hTheme,
|
---|
495 | hdc,
|
---|
496 | iPartId,
|
---|
497 | iStateId,
|
---|
498 | pDestRect,
|
---|
499 | uEdge,
|
---|
500 | uFlags,
|
---|
501 | pContentRect));
|
---|
502 | return S_OK;
|
---|
503 | }
|
---|
504 |
|
---|
505 |
|
---|
506 |
|
---|
507 |
|
---|
508 | /**
|
---|
509 | *
|
---|
510 | * @returns
|
---|
511 | * @param hTheme
|
---|
512 | * @param hdc
|
---|
513 | * @param iPartId
|
---|
514 | * @param iStateId
|
---|
515 | * @param pRect
|
---|
516 | * @param himl
|
---|
517 | * @param iImageIndex
|
---|
518 | * @status stub
|
---|
519 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
520 | */
|
---|
521 | HRESULT WIN32API DrawThemeIcon(
|
---|
522 | HTHEME hTheme,
|
---|
523 | HDC hdc,
|
---|
524 | int iPartId,
|
---|
525 | int iStateId,
|
---|
526 | const RECT* pRect,
|
---|
527 | HIMAGELIST himl,
|
---|
528 | int iImageIndex
|
---|
529 | )
|
---|
530 | {
|
---|
531 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
532 | hTheme,
|
---|
533 | hdc,
|
---|
534 | iPartId,
|
---|
535 | iStateId,
|
---|
536 | pRect,
|
---|
537 | himl,
|
---|
538 | iImageIndex));
|
---|
539 | return S_OK;
|
---|
540 | }
|
---|
541 |
|
---|
542 |
|
---|
543 | /**
|
---|
544 | *
|
---|
545 | * @returns
|
---|
546 | * @param hwnd
|
---|
547 | * @param hdc
|
---|
548 | * @param prc
|
---|
549 | * @status stub
|
---|
550 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
551 | */
|
---|
552 | HRESULT WIN32API DrawThemeParentBackground(
|
---|
553 | HWND hwnd,
|
---|
554 | HDC hdc,
|
---|
555 | RECT* prc
|
---|
556 | )
|
---|
557 | {
|
---|
558 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
|
---|
559 | hwnd,
|
---|
560 | hdc,
|
---|
561 | prc));
|
---|
562 | return S_OK;
|
---|
563 | }
|
---|
564 |
|
---|
565 |
|
---|
566 | /**
|
---|
567 | *
|
---|
568 | * @returns
|
---|
569 | * @param hTheme
|
---|
570 | * @param hdc
|
---|
571 | * @param iPartId
|
---|
572 | * @param iStateId
|
---|
573 | * @param pszText
|
---|
574 | * @param iCharCount
|
---|
575 | * @param dwTextFlags
|
---|
576 | * @param dwTextFlags2
|
---|
577 | * @param pRect
|
---|
578 | * @status stub
|
---|
579 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
580 | */
|
---|
581 | HRESULT WIN32API DrawThemeText(
|
---|
582 | HTHEME hTheme,
|
---|
583 | HDC hdc,
|
---|
584 | int iPartId,
|
---|
585 | int iStateId,
|
---|
586 | LPCWSTR pszText,
|
---|
587 | int iCharCount,
|
---|
588 | DWORD dwTextFlags,
|
---|
589 | DWORD dwTextFlags2,
|
---|
590 | const RECT* pRect
|
---|
591 | )
|
---|
592 | {
|
---|
593 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
594 | hTheme,
|
---|
595 | hdc,
|
---|
596 | iPartId,
|
---|
597 | iStateId,
|
---|
598 | pszText,
|
---|
599 | iCharCount,
|
---|
600 | dwTextFlags,
|
---|
601 | dwTextFlags2,
|
---|
602 | pRect));
|
---|
603 | return S_OK;
|
---|
604 | }
|
---|
605 |
|
---|
606 |
|
---|
607 | /**
|
---|
608 | *
|
---|
609 | * @returns
|
---|
610 | * @param hwnd
|
---|
611 | * @param dwFlags
|
---|
612 | * @status stub
|
---|
613 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
614 | */
|
---|
615 | HRESULT WIN32API EnableThemeDialogTexture(
|
---|
616 | HWND hwnd,
|
---|
617 | DWORD dwFlags
|
---|
618 | )
|
---|
619 | {
|
---|
620 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
|
---|
621 | hwnd,
|
---|
622 | dwFlags));
|
---|
623 | return S_FALSE;
|
---|
624 | }
|
---|
625 |
|
---|
626 |
|
---|
627 | /**
|
---|
628 | *
|
---|
629 | * @returns
|
---|
630 | * @param fEnable
|
---|
631 | * @status stub
|
---|
632 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
633 | */
|
---|
634 | HRESULT WIN32API EnableTheming(
|
---|
635 | BOOL fEnable
|
---|
636 | )
|
---|
637 | {
|
---|
638 | dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n",
|
---|
639 | fEnable));
|
---|
640 | return S_OK;
|
---|
641 | }
|
---|
642 |
|
---|
643 |
|
---|
644 | /**
|
---|
645 | *
|
---|
646 | * @returns
|
---|
647 | * @param pszThemeFileName
|
---|
648 | * @param dwMaxNameChars
|
---|
649 | * @param pszColorBuff
|
---|
650 | * @param cchMaxColorChars
|
---|
651 | * @param pszSizeBuff
|
---|
652 | * @param cchMaxSizeChars
|
---|
653 | * @status stub
|
---|
654 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
655 | */
|
---|
656 | HRESULT WIN32API GetCurrentThemeName(
|
---|
657 | LPWSTR pszThemeFileName,
|
---|
658 | int dwMaxNameChars,
|
---|
659 | LPWSTR pszColorBuff,
|
---|
660 | int cchMaxColorChars,
|
---|
661 | LPWSTR pszSizeBuff,
|
---|
662 | int cchMaxSizeChars
|
---|
663 | )
|
---|
664 | {
|
---|
665 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
666 | pszThemeFileName,
|
---|
667 | dwMaxNameChars,
|
---|
668 | pszColorBuff,
|
---|
669 | cchMaxColorChars,
|
---|
670 | pszSizeBuff,
|
---|
671 | cchMaxSizeChars));
|
---|
672 | return S_FALSE;
|
---|
673 | }
|
---|
674 |
|
---|
675 |
|
---|
676 | /**
|
---|
677 | *
|
---|
678 | * @returns
|
---|
679 | * @status stub
|
---|
680 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
681 | */
|
---|
682 | DWORD WIN32API GetThemeAppProperties(VOID)
|
---|
683 | {
|
---|
684 | dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
|
---|
685 | return 0;
|
---|
686 | }
|
---|
687 |
|
---|
688 |
|
---|
689 | /**
|
---|
690 | *
|
---|
691 | * @returns
|
---|
692 | * @param hTheme
|
---|
693 | * @param hdc
|
---|
694 | * @param iPartId
|
---|
695 | * @param iStateId
|
---|
696 | * @param pBoundingRect
|
---|
697 | * @param pContentRect
|
---|
698 | * @status stub
|
---|
699 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
700 | */
|
---|
701 | HRESULT WIN32API GetThemeBackgroundContentRect(
|
---|
702 | HTHEME hTheme,
|
---|
703 | HDC hdc,
|
---|
704 | int iPartId,
|
---|
705 | int iStateId,
|
---|
706 | const RECT* pBoundingRect,
|
---|
707 | RECT* pContentRect
|
---|
708 | )
|
---|
709 | {
|
---|
710 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
711 | hTheme,
|
---|
712 | hdc,
|
---|
713 | iPartId,
|
---|
714 | iStateId,
|
---|
715 | pBoundingRect,
|
---|
716 | pContentRect));
|
---|
717 | return S_FALSE;
|
---|
718 | }
|
---|
719 |
|
---|
720 |
|
---|
721 | /**
|
---|
722 | *
|
---|
723 | * @returns
|
---|
724 | * @param hTheme
|
---|
725 | * @param hdc
|
---|
726 | * @param iPartId
|
---|
727 | * @param iStateId
|
---|
728 | * @param pContentRect
|
---|
729 | * @param pExtentRect
|
---|
730 | * @status stub
|
---|
731 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
732 | */
|
---|
733 | HRESULT WIN32API GetThemeBackgroundExtent(
|
---|
734 | HTHEME hTheme,
|
---|
735 | HDC hdc,
|
---|
736 | int iPartId,
|
---|
737 | int iStateId,
|
---|
738 | const RECT* pContentRect,
|
---|
739 | RECT* pExtentRect
|
---|
740 | )
|
---|
741 | {
|
---|
742 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
743 | hTheme,
|
---|
744 | hdc,
|
---|
745 | iPartId,
|
---|
746 | iStateId,
|
---|
747 | pContentRect,
|
---|
748 | pExtentRect));
|
---|
749 | return S_FALSE;
|
---|
750 | }
|
---|
751 |
|
---|
752 |
|
---|
753 | /**
|
---|
754 | *
|
---|
755 | * @returns
|
---|
756 | * @param hTheme
|
---|
757 | * @param hdc
|
---|
758 | * @param iPartId
|
---|
759 | * @param iStateId
|
---|
760 | * @param pRect
|
---|
761 | * @param pRegion
|
---|
762 | * @status stub
|
---|
763 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
764 | */
|
---|
765 | HRESULT WIN32API GetThemeBackgroundRegion(
|
---|
766 | HTHEME hTheme,
|
---|
767 | HDC hdc,
|
---|
768 | int iPartId,
|
---|
769 | int iStateId,
|
---|
770 | const RECT* pRect,
|
---|
771 | HRGN* pRegion
|
---|
772 | )
|
---|
773 | {
|
---|
774 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
775 | hTheme,
|
---|
776 | hdc,
|
---|
777 | iPartId,
|
---|
778 | iStateId,
|
---|
779 | pRect,
|
---|
780 | pRegion));
|
---|
781 | return S_FALSE;
|
---|
782 | }
|
---|
783 |
|
---|
784 |
|
---|
785 | /**
|
---|
786 | *
|
---|
787 | * @returns
|
---|
788 | * @param hTheme
|
---|
789 | * @param iPartId
|
---|
790 | * @param iStateId
|
---|
791 | * @param iPropId
|
---|
792 | * @param pfVal
|
---|
793 | * @status stub
|
---|
794 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
795 | */
|
---|
796 | HRESULT WIN32API GetThemeBool(
|
---|
797 | HTHEME hTheme,
|
---|
798 | int iPartId,
|
---|
799 | int iStateId,
|
---|
800 | int iPropId,
|
---|
801 | BOOL* pfVal
|
---|
802 | )
|
---|
803 | {
|
---|
804 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
805 | hTheme,
|
---|
806 | iPartId,
|
---|
807 | iStateId,
|
---|
808 | iPropId,
|
---|
809 | pfVal));
|
---|
810 | return S_FALSE;
|
---|
811 | }
|
---|
812 |
|
---|
813 |
|
---|
814 | /**
|
---|
815 | *
|
---|
816 | * @returns
|
---|
817 | * @param hTheme
|
---|
818 | * @param iPartId
|
---|
819 | * @param iStateId
|
---|
820 | * @param iPropId
|
---|
821 | * @param pColor
|
---|
822 | * @status stub
|
---|
823 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
824 | */
|
---|
825 | HRESULT WIN32API GetThemeColor(
|
---|
826 | HTHEME hTheme,
|
---|
827 | int iPartId,
|
---|
828 | int iStateId,
|
---|
829 | int iPropId,
|
---|
830 | COLORREF* pColor
|
---|
831 | )
|
---|
832 | {
|
---|
833 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
834 | hTheme,
|
---|
835 | iPartId,
|
---|
836 | iStateId,
|
---|
837 | iPropId,
|
---|
838 | pColor));
|
---|
839 | return S_FALSE;
|
---|
840 | }
|
---|
841 |
|
---|
842 |
|
---|
843 | /**
|
---|
844 | *
|
---|
845 | * @returns
|
---|
846 | * @param pszThemeName
|
---|
847 | * @param pszPropertyName
|
---|
848 | * @param pszValueBuff
|
---|
849 | * @param cchMaxValChars
|
---|
850 | * @status stub
|
---|
851 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
852 | */
|
---|
853 | HRESULT WIN32API GetThemeDocumentationProperty(
|
---|
854 | LPCWSTR pszThemeName,
|
---|
855 | LPCWSTR pszPropertyName,
|
---|
856 | LPWSTR pszValueBuff,
|
---|
857 | int cchMaxValChars
|
---|
858 | )
|
---|
859 | {
|
---|
860 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x) - stub\n",
|
---|
861 | pszThemeName,
|
---|
862 | pszPropertyName,
|
---|
863 | pszValueBuff,
|
---|
864 | cchMaxValChars));
|
---|
865 | return S_FALSE;
|
---|
866 | }
|
---|
867 |
|
---|
868 |
|
---|
869 | /**
|
---|
870 | *
|
---|
871 | * @returns
|
---|
872 | * @param hTheme
|
---|
873 | * @param iPartId
|
---|
874 | * @param iStateId
|
---|
875 | * @param iPropId
|
---|
876 | * @param piVal
|
---|
877 | * @status stub
|
---|
878 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
879 | */
|
---|
880 | HRESULT WIN32API GetThemeEnumValue(
|
---|
881 | HTHEME hTheme,
|
---|
882 | int iPartId,
|
---|
883 | int iStateId,
|
---|
884 | int iPropId,
|
---|
885 | int* piVal
|
---|
886 | )
|
---|
887 | {
|
---|
888 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
889 | hTheme,
|
---|
890 | iPartId,
|
---|
891 | iStateId,
|
---|
892 | iPropId,
|
---|
893 | piVal));
|
---|
894 | return S_FALSE;
|
---|
895 | }
|
---|
896 |
|
---|
897 |
|
---|
898 | /**
|
---|
899 | *
|
---|
900 | * @returns
|
---|
901 | * @param hTheme
|
---|
902 | * @param iPartId
|
---|
903 | * @param iStateId
|
---|
904 | * @param iPropId
|
---|
905 | * @param pszThemeFilename
|
---|
906 | * @param cchMaxBuffChars
|
---|
907 | * @status stub
|
---|
908 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
909 | */
|
---|
910 | HRESULT WIN32API GetThemeFilename(
|
---|
911 | HTHEME hTheme,
|
---|
912 | int iPartId,
|
---|
913 | int iStateId,
|
---|
914 | int iPropId,
|
---|
915 | LPWSTR pszThemeFilename,
|
---|
916 | int cchMaxBuffChars
|
---|
917 | )
|
---|
918 | {
|
---|
919 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
920 | hTheme,
|
---|
921 | iPartId,
|
---|
922 | iStateId,
|
---|
923 | iPropId,
|
---|
924 | pszThemeFilename,
|
---|
925 | cchMaxBuffChars));
|
---|
926 | return S_FALSE;
|
---|
927 | }
|
---|
928 |
|
---|
929 |
|
---|
930 | /**
|
---|
931 | *
|
---|
932 | * @returns
|
---|
933 | * @param hTheme
|
---|
934 | * @param hdc
|
---|
935 | * @param iPartId
|
---|
936 | * @param iStateId
|
---|
937 | * @param iPropId
|
---|
938 | * @param pFont
|
---|
939 | * @status stub
|
---|
940 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
941 | */
|
---|
942 | HRESULT WIN32API GetThemeFont(
|
---|
943 | HTHEME hTheme,
|
---|
944 | HDC hdc,
|
---|
945 | int iPartId,
|
---|
946 | int iStateId,
|
---|
947 | int iPropId,
|
---|
948 | LOGFONTW* pFont
|
---|
949 | )
|
---|
950 | {
|
---|
951 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
952 | hTheme,
|
---|
953 | hdc,
|
---|
954 | iPartId,
|
---|
955 | iStateId,
|
---|
956 | iPropId,
|
---|
957 | pFont));
|
---|
958 | return S_FALSE;
|
---|
959 | }
|
---|
960 |
|
---|
961 |
|
---|
962 | /**
|
---|
963 | *
|
---|
964 | * @returns
|
---|
965 | * @param hTheme
|
---|
966 | * @param iPartId
|
---|
967 | * @param iStateId
|
---|
968 | * @param iPropId
|
---|
969 | * @param piVal
|
---|
970 | * @status stub
|
---|
971 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
972 | */
|
---|
973 | HRESULT WIN32API GetThemeInt(
|
---|
974 | HTHEME hTheme,
|
---|
975 | int iPartId,
|
---|
976 | int iStateId,
|
---|
977 | int iPropId,
|
---|
978 | int* piVal
|
---|
979 | )
|
---|
980 | {
|
---|
981 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
982 | hTheme,
|
---|
983 | iPartId,
|
---|
984 | iStateId,
|
---|
985 | iPropId,
|
---|
986 | piVal));
|
---|
987 | return S_FALSE;
|
---|
988 | }
|
---|
989 |
|
---|
990 |
|
---|
991 | /**
|
---|
992 | *
|
---|
993 | * @returns
|
---|
994 | * @param hTheme
|
---|
995 | * @param iPartId
|
---|
996 | * @param iStateId
|
---|
997 | * @param iPropId
|
---|
998 | * @param pIntList
|
---|
999 | * @status stub
|
---|
1000 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1001 | */
|
---|
1002 | HRESULT WIN32API GetThemeIntList(
|
---|
1003 | HTHEME hTheme,
|
---|
1004 | int iPartId,
|
---|
1005 | int iStateId,
|
---|
1006 | int iPropId,
|
---|
1007 | INTLIST* pIntList
|
---|
1008 | )
|
---|
1009 | {
|
---|
1010 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
1011 | hTheme,
|
---|
1012 | iPartId,
|
---|
1013 | iStateId,
|
---|
1014 | iPropId,
|
---|
1015 | pIntList));
|
---|
1016 | return S_FALSE;
|
---|
1017 | }
|
---|
1018 |
|
---|
1019 |
|
---|
1020 | /**
|
---|
1021 | *
|
---|
1022 | * @returns
|
---|
1023 | * @param hTheme
|
---|
1024 | * @param hdc
|
---|
1025 | * @param iPartId
|
---|
1026 | * @param iStateId
|
---|
1027 | * @param iPropId
|
---|
1028 | * @param prc
|
---|
1029 | * @param pMargins
|
---|
1030 | * @status stub
|
---|
1031 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1032 | */
|
---|
1033 | HRESULT WIN32API GetThemeMargins(
|
---|
1034 | HTHEME hTheme,
|
---|
1035 | HDC hdc,
|
---|
1036 | int iPartId,
|
---|
1037 | int iStateId,
|
---|
1038 | int iPropId,
|
---|
1039 | RECT* prc,
|
---|
1040 | MARGINS* pMargins
|
---|
1041 | )
|
---|
1042 | {
|
---|
1043 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
1044 | hTheme,
|
---|
1045 | hdc,
|
---|
1046 | iPartId,
|
---|
1047 | iStateId,
|
---|
1048 | iPropId,
|
---|
1049 | prc,
|
---|
1050 | pMargins));
|
---|
1051 | return S_FALSE;
|
---|
1052 | }
|
---|
1053 |
|
---|
1054 |
|
---|
1055 | /**
|
---|
1056 | *
|
---|
1057 | * @returns
|
---|
1058 | * @param hTheme
|
---|
1059 | * @param hdc
|
---|
1060 | * @param iPartId
|
---|
1061 | * @param iStateId
|
---|
1062 | * @param iPropId
|
---|
1063 | * @param piVal
|
---|
1064 | * @status stub
|
---|
1065 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1066 | */
|
---|
1067 | HRESULT WIN32API GetThemeMetric(
|
---|
1068 | HTHEME hTheme,
|
---|
1069 | HDC hdc,
|
---|
1070 | int iPartId,
|
---|
1071 | int iStateId,
|
---|
1072 | int iPropId,
|
---|
1073 | int* piVal
|
---|
1074 | )
|
---|
1075 | {
|
---|
1076 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
1077 | hTheme,
|
---|
1078 | hdc,
|
---|
1079 | iPartId,
|
---|
1080 | iStateId,
|
---|
1081 | iPropId,
|
---|
1082 | piVal));
|
---|
1083 | return S_FALSE;
|
---|
1084 | }
|
---|
1085 |
|
---|
1086 |
|
---|
1087 | /**
|
---|
1088 | *
|
---|
1089 | * @returns
|
---|
1090 | * @param hTheme
|
---|
1091 | * @param hdc
|
---|
1092 | * @param iPartId
|
---|
1093 | * @param iStateId
|
---|
1094 | * @param prc
|
---|
1095 | * @param eSize
|
---|
1096 | * @param psz
|
---|
1097 | * @status stub
|
---|
1098 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1099 | */
|
---|
1100 | HRESULT WIN32API GetThemePartSize(
|
---|
1101 | HTHEME hTheme,
|
---|
1102 | HDC hdc,
|
---|
1103 | int iPartId,
|
---|
1104 | int iStateId,
|
---|
1105 | RECT* prc,
|
---|
1106 | THEMESIZE eSize,
|
---|
1107 | SIZE* psz
|
---|
1108 | )
|
---|
1109 | {
|
---|
1110 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
1111 | hTheme,
|
---|
1112 | hdc,
|
---|
1113 | iPartId,
|
---|
1114 | iStateId,
|
---|
1115 | prc,
|
---|
1116 | eSize,
|
---|
1117 | psz));
|
---|
1118 | return S_FALSE;
|
---|
1119 | }
|
---|
1120 |
|
---|
1121 |
|
---|
1122 | /**
|
---|
1123 | *
|
---|
1124 | * @returns
|
---|
1125 | * @param hTheme
|
---|
1126 | * @param iPartId
|
---|
1127 | * @param iStateId
|
---|
1128 | * @param iPropId
|
---|
1129 | * @param pPoint
|
---|
1130 | * @status stub
|
---|
1131 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1132 | */
|
---|
1133 | HRESULT WIN32API GetThemePosition(
|
---|
1134 | HTHEME hTheme,
|
---|
1135 | int iPartId,
|
---|
1136 | int iStateId,
|
---|
1137 | int iPropId,
|
---|
1138 | POINT* pPoint
|
---|
1139 | )
|
---|
1140 | {
|
---|
1141 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
1142 | hTheme,
|
---|
1143 | iPartId,
|
---|
1144 | iStateId,
|
---|
1145 | iPropId,
|
---|
1146 | pPoint));
|
---|
1147 | return S_FALSE;
|
---|
1148 | }
|
---|
1149 |
|
---|
1150 |
|
---|
1151 | /**
|
---|
1152 | *
|
---|
1153 | * @returns
|
---|
1154 | * @param hTheme
|
---|
1155 | * @param iPartId
|
---|
1156 | * @param iStateId
|
---|
1157 | * @param iPropId
|
---|
1158 | * @param pOrigin
|
---|
1159 | * @status stub
|
---|
1160 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1161 | */
|
---|
1162 | HRESULT WIN32API GetThemePropertyOrigin(
|
---|
1163 | HTHEME hTheme,
|
---|
1164 | int iPartId,
|
---|
1165 | int iStateId,
|
---|
1166 | int iPropId,
|
---|
1167 | PROPERTYORIGIN* pOrigin
|
---|
1168 | )
|
---|
1169 | {
|
---|
1170 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
1171 | hTheme,
|
---|
1172 | iPartId,
|
---|
1173 | iStateId,
|
---|
1174 | iPropId,
|
---|
1175 | pOrigin));
|
---|
1176 | return S_FALSE;
|
---|
1177 | }
|
---|
1178 |
|
---|
1179 |
|
---|
1180 | /**
|
---|
1181 | *
|
---|
1182 | * @returns
|
---|
1183 | * @param hTheme
|
---|
1184 | * @param iPartId
|
---|
1185 | * @param iStateId
|
---|
1186 | * @param iPropId
|
---|
1187 | * @param pRect
|
---|
1188 | * @status stub
|
---|
1189 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1190 | */
|
---|
1191 | HRESULT WIN32API GetThemeRect(
|
---|
1192 | HTHEME hTheme,
|
---|
1193 | int iPartId,
|
---|
1194 | int iStateId,
|
---|
1195 | int iPropId,
|
---|
1196 | RECT* pRect
|
---|
1197 | )
|
---|
1198 | {
|
---|
1199 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
1200 | hTheme,
|
---|
1201 | iPartId,
|
---|
1202 | iStateId,
|
---|
1203 | iPropId,
|
---|
1204 | pRect));
|
---|
1205 | return S_FALSE;
|
---|
1206 | }
|
---|
1207 |
|
---|
1208 |
|
---|
1209 | /**
|
---|
1210 | *
|
---|
1211 | * @returns
|
---|
1212 | * @param hTheme
|
---|
1213 | * @param iPartId
|
---|
1214 | * @param iStateId
|
---|
1215 | * @param iPropId
|
---|
1216 | * @param pszBuff
|
---|
1217 | * @param cchMaxBuffChars
|
---|
1218 | * @status stub
|
---|
1219 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1220 | */
|
---|
1221 | HRESULT WIN32API GetThemeString(
|
---|
1222 | HTHEME hTheme,
|
---|
1223 | int iPartId,
|
---|
1224 | int iStateId,
|
---|
1225 | int iPropId,
|
---|
1226 | LPWSTR pszBuff,
|
---|
1227 | int cchMaxBuffChars
|
---|
1228 | )
|
---|
1229 | {
|
---|
1230 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
1231 | hTheme,
|
---|
1232 | iPartId,
|
---|
1233 | iStateId,
|
---|
1234 | iPropId,
|
---|
1235 | pszBuff,
|
---|
1236 | cchMaxBuffChars));
|
---|
1237 | return S_FALSE;
|
---|
1238 | }
|
---|
1239 |
|
---|
1240 |
|
---|
1241 | /**
|
---|
1242 | *
|
---|
1243 | * @returns
|
---|
1244 | * @param hTheme
|
---|
1245 | * @param iBoolID
|
---|
1246 | * @status stub
|
---|
1247 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1248 | */
|
---|
1249 | BOOL WIN32API GetThemeSysBool(
|
---|
1250 | HTHEME hTheme,
|
---|
1251 | int iBoolID
|
---|
1252 | )
|
---|
1253 | {
|
---|
1254 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
1255 | hTheme,
|
---|
1256 | iBoolID));
|
---|
1257 | return FALSE;
|
---|
1258 | }
|
---|
1259 |
|
---|
1260 |
|
---|
1261 | /**
|
---|
1262 | *
|
---|
1263 | * @returns
|
---|
1264 | * @param hTheme
|
---|
1265 | * @param iColorID
|
---|
1266 | * @status stub
|
---|
1267 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1268 | */
|
---|
1269 | COLORREF WIN32API GetThemeSysColor(
|
---|
1270 | HTHEME hTheme,
|
---|
1271 | int iColorID
|
---|
1272 | )
|
---|
1273 | {
|
---|
1274 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
|
---|
1275 | hTheme,
|
---|
1276 | iColorID));
|
---|
1277 | return 0;
|
---|
1278 | }
|
---|
1279 |
|
---|
1280 |
|
---|
1281 | /**
|
---|
1282 | *
|
---|
1283 | * @returns
|
---|
1284 | * @param hTheme
|
---|
1285 | * @param iColorID
|
---|
1286 | * @status stub
|
---|
1287 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1288 | */
|
---|
1289 | HBRUSH WIN32API GetThemeSysColorBrush(
|
---|
1290 | HTHEME hTheme,
|
---|
1291 | int iColorID
|
---|
1292 | )
|
---|
1293 | {
|
---|
1294 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
|
---|
1295 | hTheme,
|
---|
1296 | iColorID));
|
---|
1297 | return NULL;
|
---|
1298 | }
|
---|
1299 |
|
---|
1300 |
|
---|
1301 |
|
---|
1302 | /**
|
---|
1303 | *
|
---|
1304 | * @returns
|
---|
1305 | * @param hTheme
|
---|
1306 | * @param iFontID
|
---|
1307 | * @param plf
|
---|
1308 | * @status stub
|
---|
1309 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1310 | */
|
---|
1311 | HRESULT WIN32API GetThemeSysFont(
|
---|
1312 | HTHEME hTheme,
|
---|
1313 | int iFontID,
|
---|
1314 | LOGFONTW* plf
|
---|
1315 | )
|
---|
1316 | {
|
---|
1317 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
|
---|
1318 | hTheme,
|
---|
1319 | iFontID,
|
---|
1320 | plf));
|
---|
1321 | return S_FALSE;
|
---|
1322 | }
|
---|
1323 |
|
---|
1324 |
|
---|
1325 | /**
|
---|
1326 | *
|
---|
1327 | * @returns
|
---|
1328 | * @param hTheme
|
---|
1329 | * @param iIntID
|
---|
1330 | * @param piValue
|
---|
1331 | * @status stub
|
---|
1332 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1333 | */
|
---|
1334 | HRESULT WIN32API GetThemeSysInt(
|
---|
1335 | HTHEME hTheme,
|
---|
1336 | int iIntID,
|
---|
1337 | int* piValue
|
---|
1338 | )
|
---|
1339 | {
|
---|
1340 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
|
---|
1341 | hTheme,
|
---|
1342 | iIntID,
|
---|
1343 | piValue));
|
---|
1344 | return S_FALSE;
|
---|
1345 | }
|
---|
1346 |
|
---|
1347 |
|
---|
1348 | /**
|
---|
1349 | *
|
---|
1350 | * @returns
|
---|
1351 | * @param hTheme
|
---|
1352 | * @param iSizeID
|
---|
1353 | * @status stub
|
---|
1354 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1355 | */
|
---|
1356 | int WIN32API GetThemeSysSize(
|
---|
1357 | HTHEME hTheme,
|
---|
1358 | int iSizeID
|
---|
1359 | )
|
---|
1360 | {
|
---|
1361 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
|
---|
1362 | hTheme,
|
---|
1363 | iSizeID));
|
---|
1364 | return S_FALSE;
|
---|
1365 | }
|
---|
1366 |
|
---|
1367 |
|
---|
1368 | /**
|
---|
1369 | *
|
---|
1370 | * @returns
|
---|
1371 | * @param hTheme
|
---|
1372 | * @param iStringID
|
---|
1373 | * @param pszStringBuff
|
---|
1374 | * @param cchMaxStringChars
|
---|
1375 | * @status stub
|
---|
1376 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1377 | */
|
---|
1378 | HRESULT WIN32API GetThemeSysString(
|
---|
1379 | HTHEME hTheme,
|
---|
1380 | int iStringID,
|
---|
1381 | LPWSTR pszStringBuff,
|
---|
1382 | int cchMaxStringChars
|
---|
1383 | )
|
---|
1384 | {
|
---|
1385 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x) - stub\n",
|
---|
1386 | hTheme,
|
---|
1387 | iStringID,
|
---|
1388 | pszStringBuff,
|
---|
1389 | cchMaxStringChars));
|
---|
1390 | return S_FALSE;
|
---|
1391 | }
|
---|
1392 |
|
---|
1393 |
|
---|
1394 | /**
|
---|
1395 | *
|
---|
1396 | * @returns
|
---|
1397 | * @param hTheme
|
---|
1398 | * @param hdc
|
---|
1399 | * @param iPartId
|
---|
1400 | * @param iStateId
|
---|
1401 | * @param pszText
|
---|
1402 | * @param iCharCount
|
---|
1403 | * @param dwTextFlags
|
---|
1404 | * @param pBoundingRect
|
---|
1405 | * @param pExtentRect
|
---|
1406 | * @status stub
|
---|
1407 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1408 | */
|
---|
1409 | HRESULT WIN32API GetThemeTextExtent(
|
---|
1410 | HTHEME hTheme,
|
---|
1411 | HDC hdc,
|
---|
1412 | int iPartId,
|
---|
1413 | int iStateId,
|
---|
1414 | LPCWSTR pszText,
|
---|
1415 | int iCharCount,
|
---|
1416 | DWORD dwTextFlags,
|
---|
1417 | const RECT* pBoundingRect,
|
---|
1418 | RECT* pExtentRect
|
---|
1419 | )
|
---|
1420 | {
|
---|
1421 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
1422 | hTheme,
|
---|
1423 | hdc,
|
---|
1424 | iPartId,
|
---|
1425 | iStateId,
|
---|
1426 | pszText,
|
---|
1427 | iCharCount,
|
---|
1428 | dwTextFlags,
|
---|
1429 | pBoundingRect,
|
---|
1430 | pExtentRect));
|
---|
1431 | return S_FALSE;
|
---|
1432 | }
|
---|
1433 |
|
---|
1434 |
|
---|
1435 | /**
|
---|
1436 | *
|
---|
1437 | * @returns
|
---|
1438 | * @param hTheme
|
---|
1439 | * @param hdc
|
---|
1440 | * @param iPartId
|
---|
1441 | * @param iStateId
|
---|
1442 | * @param ptm
|
---|
1443 | * @status stub
|
---|
1444 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1445 | */
|
---|
1446 | HRESULT WIN32API GetThemeTextMetrics(
|
---|
1447 | HTHEME hTheme,
|
---|
1448 | HDC hdc,
|
---|
1449 | int iPartId,
|
---|
1450 | int iStateId,
|
---|
1451 | TEXTMETRICW* ptm
|
---|
1452 | )
|
---|
1453 | {
|
---|
1454 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
|
---|
1455 | hTheme,
|
---|
1456 | hdc,
|
---|
1457 | iPartId,
|
---|
1458 | iStateId,
|
---|
1459 | ptm ));
|
---|
1460 | return S_FALSE;
|
---|
1461 | }
|
---|
1462 |
|
---|
1463 |
|
---|
1464 | /**
|
---|
1465 | *
|
---|
1466 | * @returns
|
---|
1467 | * @param hWnd
|
---|
1468 | * @status stub
|
---|
1469 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1470 | */
|
---|
1471 | HTHEME WIN32API GetWindowTheme(
|
---|
1472 | HWND hWnd
|
---|
1473 | )
|
---|
1474 | {
|
---|
1475 | dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n",
|
---|
1476 | hWnd));
|
---|
1477 | return NULL;
|
---|
1478 | }
|
---|
1479 |
|
---|
1480 |
|
---|
1481 | /**
|
---|
1482 | *
|
---|
1483 | * @returns
|
---|
1484 | * @param hTheme
|
---|
1485 | * @param hdc
|
---|
1486 | * @param iPartId
|
---|
1487 | * @param iStateId
|
---|
1488 | * @param dwOptions
|
---|
1489 | * @param pRect
|
---|
1490 | * @param hrgn
|
---|
1491 | * @param ptTest
|
---|
1492 | * @param pwHitTestCode
|
---|
1493 | * @status stub
|
---|
1494 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1495 | */
|
---|
1496 | HRESULT WIN32API HitTestThemeBackground(
|
---|
1497 | HTHEME hTheme,
|
---|
1498 | HDC hdc,
|
---|
1499 | int iPartId,
|
---|
1500 | int iStateId,
|
---|
1501 | DWORD dwOptions,
|
---|
1502 | const RECT* pRect,
|
---|
1503 | HRGN hrgn,
|
---|
1504 | POINT ptTest,
|
---|
1505 | WORD* pwHitTestCode
|
---|
1506 | )
|
---|
1507 | {
|
---|
1508 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
|
---|
1509 | hTheme,
|
---|
1510 | hdc,
|
---|
1511 | iPartId,
|
---|
1512 | iStateId,
|
---|
1513 | dwOptions,
|
---|
1514 | pRect,
|
---|
1515 | hrgn,
|
---|
1516 | ptTest,
|
---|
1517 | pwHitTestCode));
|
---|
1518 | return S_OK;
|
---|
1519 | }
|
---|
1520 |
|
---|
1521 |
|
---|
1522 | /**
|
---|
1523 | *
|
---|
1524 | * @returns
|
---|
1525 | * @status stub
|
---|
1526 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1527 | */
|
---|
1528 | BOOL WIN32API IsAppThemed(VOID)
|
---|
1529 | {
|
---|
1530 | dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
|
---|
1531 | return FALSE;
|
---|
1532 | }
|
---|
1533 |
|
---|
1534 |
|
---|
1535 | /**
|
---|
1536 | *
|
---|
1537 | * @returns
|
---|
1538 | * @status stub
|
---|
1539 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1540 | * @remark
|
---|
1541 | */
|
---|
1542 | BOOL WIN32API IsThemeActive(VOID)
|
---|
1543 | {
|
---|
1544 | dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
|
---|
1545 | return FALSE;
|
---|
1546 | }
|
---|
1547 |
|
---|
1548 |
|
---|
1549 | /**
|
---|
1550 | *
|
---|
1551 | * @returns
|
---|
1552 | * @param hTheme
|
---|
1553 | * @param iPartId
|
---|
1554 | * @param iStateId
|
---|
1555 | * @status stub.
|
---|
1556 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1557 | */
|
---|
1558 | BOOL WIN32API IsThemeBackgroundPartiallyTransparent(
|
---|
1559 | HTHEME hTheme,
|
---|
1560 | int iPartId,
|
---|
1561 | int iStateId
|
---|
1562 | )
|
---|
1563 | {
|
---|
1564 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
|
---|
1565 | hTheme,
|
---|
1566 | iPartId,
|
---|
1567 | iStateId));
|
---|
1568 | return FALSE;
|
---|
1569 | }
|
---|
1570 |
|
---|
1571 | /**
|
---|
1572 | *
|
---|
1573 | * @returns
|
---|
1574 | * @status stub
|
---|
1575 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1576 | */
|
---|
1577 | BOOL WIN32API IsThemeDialogTextureEnabled(VOID)
|
---|
1578 | {
|
---|
1579 | dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
|
---|
1580 | return FALSE;
|
---|
1581 | }
|
---|
1582 |
|
---|
1583 |
|
---|
1584 | /**
|
---|
1585 | *
|
---|
1586 | * @returns
|
---|
1587 | * @param hTheme
|
---|
1588 | * @param iPartId
|
---|
1589 | * @param iStateId
|
---|
1590 | * @status stub
|
---|
1591 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1592 | */
|
---|
1593 | BOOL WIN32API IsThemePartDefined(
|
---|
1594 | HTHEME hTheme,
|
---|
1595 | int iPartId,
|
---|
1596 | int iStateId
|
---|
1597 | )
|
---|
1598 | {
|
---|
1599 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
|
---|
1600 | hTheme,
|
---|
1601 | iPartId,
|
---|
1602 | iStateId));
|
---|
1603 | return FALSE;
|
---|
1604 | }
|
---|
1605 |
|
---|
1606 |
|
---|
1607 | /**
|
---|
1608 | *
|
---|
1609 | * @returns
|
---|
1610 | * @param hwnd
|
---|
1611 | * @param pszClassList
|
---|
1612 | * @status stub
|
---|
1613 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1614 | */
|
---|
1615 | HTHEME OpenThemeData(
|
---|
1616 | HWND hwnd,
|
---|
1617 | LPCWSTR pszClassList
|
---|
1618 | )
|
---|
1619 | {
|
---|
1620 | dprintf(("UXTHEME: " __FUNCTION__ "(%x, %x) - stub - returns NULL\n",
|
---|
1621 | hwnd,
|
---|
1622 | pszClassList));
|
---|
1623 | return NULL;
|
---|
1624 | }
|
---|
1625 |
|
---|
1626 |
|
---|
1627 | /**
|
---|
1628 | *
|
---|
1629 | * @returns
|
---|
1630 | * @param dwFlags
|
---|
1631 | * @status stub
|
---|
1632 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1633 | */
|
---|
1634 | VOID WIN32API SetThemeAppProperties(
|
---|
1635 | DWORD dwFlags
|
---|
1636 | )
|
---|
1637 | {
|
---|
1638 | dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n",
|
---|
1639 | dwFlags));
|
---|
1640 | }
|
---|
1641 |
|
---|
1642 |
|
---|
1643 | /**
|
---|
1644 | *
|
---|
1645 | * @returns
|
---|
1646 | * @param hwnd
|
---|
1647 | * @param pszSubAppName
|
---|
1648 | * @param pszSubIdList
|
---|
1649 | * @status stub
|
---|
1650 | * @author knut st. osmundsen (bird@anduin.net)
|
---|
1651 | */
|
---|
1652 | HRESULT WIN32API SetWindowTheme(
|
---|
1653 | HWND hwnd,
|
---|
1654 | LPCWSTR pszSubAppName,
|
---|
1655 | LPCWSTR pszSubIdList
|
---|
1656 | )
|
---|
1657 | {
|
---|
1658 | dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
|
---|
1659 | hwnd,
|
---|
1660 | pszSubAppName,
|
---|
1661 | pszSubIdList));
|
---|
1662 | return S_FALSE;
|
---|
1663 | }
|
---|