Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e181d5d0
Commit
e181d5d0
authored
Dec 16, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Cast-qual warning fix.
parent
1412bcdb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
theme.c
programs/winecfg/theme.c
+4
-4
No files found.
programs/winecfg/theme.c
View file @
e181d5d0
...
...
@@ -59,9 +59,9 @@ typedef BOOL (CALLBACK *EnumThemeProc)(LPVOID lpReserved,
LPCWSTR
pszToolTip
,
LPVOID
lpReserved2
,
LPVOID
lpData
);
HRESULT
WINAPI
EnumThemeColors
(
LPWSTR
pszThemeFileName
,
LPWSTR
pszSizeName
,
HRESULT
WINAPI
EnumThemeColors
(
LP
C
WSTR
pszThemeFileName
,
LPWSTR
pszSizeName
,
DWORD
dwColorNum
,
PTHEMENAMES
pszColorNames
);
HRESULT
WINAPI
EnumThemeSizes
(
LPWSTR
pszThemeFileName
,
LPWSTR
pszColorName
,
HRESULT
WINAPI
EnumThemeSizes
(
LP
C
WSTR
pszThemeFileName
,
LPWSTR
pszColorName
,
DWORD
dwSizeNum
,
PTHEMENAMES
pszSizeNames
);
HRESULT
WINAPI
ApplyTheme
(
HTHEMEFILE
hThemeFile
,
char
*
unknown
,
HWND
hWnd
);
HRESULT
WINAPI
OpenThemeFile
(
LPCWSTR
pszThemeFileName
,
LPCWSTR
pszColorName
,
...
...
@@ -171,7 +171,7 @@ static void free_theme_files(void)
themeFilesCount
=
0
;
}
typedef
HRESULT
(
WINAPI
*
EnumTheme
)
(
LPWSTR
,
LPWSTR
,
DWORD
,
PTHEMENAMES
);
typedef
HRESULT
(
WINAPI
*
EnumTheme
)
(
LP
C
WSTR
,
LPWSTR
,
DWORD
,
PTHEMENAMES
);
/* fill a string list with either colors or sizes of a theme */
static
void
fill_theme_string_array
(
const
WCHAR
*
filename
,
...
...
@@ -183,7 +183,7 @@ static void fill_theme_string_array (const WCHAR* filename,
WINE_TRACE
(
"%s %p %p
\n
"
,
wine_dbgstr_w
(
filename
),
wdsa
,
enumTheme
);
while
(
SUCCEEDED
(
enumTheme
(
(
WCHAR
*
)
filename
,
NULL
,
index
++
,
&
names
)))
while
(
SUCCEEDED
(
enumTheme
(
filename
,
NULL
,
index
++
,
&
names
)))
{
WINE_TRACE
(
"%s: %s
\n
"
,
wine_dbgstr_w
(
names
.
szName
),
wine_dbgstr_w
(
names
.
szDisplayName
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment