#ifdef guard the declaration of type IID to be compatible with
[wine.git] / dlls / uxtheme / metric.c
blob661e1626214d74643d7bf624b97b5fdab6bcca2f
1 /*
2 * Win32 5.1 Theme metrics
4 * Copyright (C) 2003 Kevin Koltzau
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include "config.h"
23 #include <stdarg.h>
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winuser.h"
28 #include "wingdi.h"
29 #include "uxtheme.h"
31 #include "msstyles.h"
32 #include "uxthemedll.h"
34 #include "wine/debug.h"
36 WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
38 /***********************************************************************
39 * GetThemeSysBool (UXTHEME.@)
41 BOOL WINAPI GetThemeSysBool(HTHEME hTheme, int iBoolID)
43 FIXME("%d: stub\n", iBoolID);
44 return FALSE;
47 /***********************************************************************
48 * GetThemeSysColor (UXTHEME.@)
50 COLORREF WINAPI GetThemeSysColor(HTHEME hTheme, int iColorID)
52 FIXME("%d: stub\n", iColorID);
53 return FALSE;
56 /***********************************************************************
57 * GetThemeSysColorBrush (UXTHEME.@)
59 HBRUSH WINAPI GetThemeSysColorBrush(HTHEME hTheme, int iColorID)
61 FIXME("%d: stub\n", iColorID);
62 return FALSE;
65 /***********************************************************************
66 * GetThemeSysFont (UXTHEME.@)
68 HRESULT WINAPI GetThemeSysFont(HTHEME hTheme, int iFontID, LOGFONTW *plf)
70 FIXME("%d: stub\n", iFontID);
71 if(!hTheme)
72 return E_HANDLE;
73 return ERROR_CALL_NOT_IMPLEMENTED;
76 /***********************************************************************
77 * GetThemeSysInt (UXTHEME.@)
79 HRESULT WINAPI GetThemeSysInt(HTHEME hTheme, int iIntID, int *piValue)
81 FIXME("%d: stub\n", iIntID);
82 if(!hTheme)
83 return E_HANDLE;
84 return ERROR_CALL_NOT_IMPLEMENTED;
87 /***********************************************************************
88 * GetThemeSysSize (UXTHEME.@)
90 int WINAPI GetThemeSysSize(HTHEME hTheme, int iSizeID)
92 FIXME("%d: stub\n", iSizeID);
93 return 0;
96 /***********************************************************************
97 * GetThemeSysString (UXTHEME.@)
99 HRESULT WINAPI GetThemeSysString(HTHEME hTheme, int iStringID,
100 LPWSTR pszStringBuff, int cchMaxStringChars)
102 FIXME("%d: stub\n", iStringID);
103 if(!hTheme)
104 return E_HANDLE;
105 return ERROR_CALL_NOT_IMPLEMENTED;