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
790c1070
Commit
790c1070
authored
May 13, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
May 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Mark internal symbols with hidden visibility.
parent
2ef583f5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
42 deletions
+42
-42
msstyles.h
dlls/uxtheme/msstyles.h
+30
-30
system.c
dlls/uxtheme/system.c
+2
-2
uxthemedll.h
dlls/uxtheme/uxthemedll.h
+10
-10
No files found.
dlls/uxtheme/msstyles.h
View file @
790c1070
...
...
@@ -84,35 +84,35 @@ typedef struct _THEME_FILE {
typedef
struct
_UXINI_FILE
*
PUXINI_FILE
;
HRESULT
MSSTYLES_OpenThemeFile
(
LPCWSTR
lpThemeFile
,
LPCWSTR
pszColorName
,
LPCWSTR
pszSizeName
,
PTHEME_FILE
*
tf
);
void
MSSTYLES_CloseThemeFile
(
PTHEME_FILE
tf
);
HRESULT
MSSTYLES_SetActiveTheme
(
PTHEME_FILE
tf
,
BOOL
setMetrics
);
PTHEME_CLASS
MSSTYLES_OpenThemeClass
(
LPCWSTR
pszAppName
,
LPCWSTR
pszClassList
);
HRESULT
MSSTYLES_CloseThemeClass
(
PTHEME_CLASS
tc
);
BOOL
MSSTYLES_LookupProperty
(
LPCWSTR
pszPropertyName
,
int
*
dwPrimitive
,
int
*
dwId
);
BOOL
MSSTYLES_LookupEnum
(
LPCWSTR
pszValueName
,
int
dwEnum
,
int
*
dwValue
);
BOOL
MSSTYLES_LookupPartState
(
LPCWSTR
pszClass
,
LPCWSTR
pszPart
,
LPCWSTR
pszState
,
int
*
iPartId
,
int
*
iStateId
);
PUXINI_FILE
MSSTYLES_GetThemeIni
(
PTHEME_FILE
tf
);
PTHEME_PARTSTATE
MSSTYLES_FindPartState
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
PTHEME_CLASS
*
tcNext
);
PTHEME_PROPERTY
MSSTYLES_FindProperty
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
int
iPropertyPrimitive
,
int
iPropertyId
);
PTHEME_PROPERTY
MSSTYLES_FindMetric
(
int
iPropertyPrimitive
,
int
iPropertyId
);
HBITMAP
MSSTYLES_LoadBitmap
(
PTHEME_CLASS
tc
,
LPCWSTR
lpFilename
,
BOOL
*
hasAlpha
);
HRESULT
MSSTYLES_GetPropertyBool
(
PTHEME_PROPERTY
tp
,
BOOL
*
pfVal
);
HRESULT
MSSTYLES_GetPropertyColor
(
PTHEME_PROPERTY
tp
,
COLORREF
*
pColor
);
HRESULT
MSSTYLES_GetPropertyFont
(
PTHEME_PROPERTY
tp
,
HDC
hdc
,
LOGFONTW
*
pFont
);
HRESULT
MSSTYLES_GetPropertyInt
(
PTHEME_PROPERTY
tp
,
int
*
piVal
);
HRESULT
MSSTYLES_GetPropertyIntList
(
PTHEME_PROPERTY
tp
,
INTLIST
*
pIntList
);
HRESULT
MSSTYLES_GetPropertyPosition
(
PTHEME_PROPERTY
tp
,
POINT
*
pPoint
);
HRESULT
MSSTYLES_GetPropertyString
(
PTHEME_PROPERTY
tp
,
LPWSTR
pszBuff
,
int
cchMaxBuffChars
);
HRESULT
MSSTYLES_GetPropertyRect
(
PTHEME_PROPERTY
tp
,
RECT
*
pRect
);
HRESULT
MSSTYLES_GetPropertyMargins
(
PTHEME_PROPERTY
tp
,
RECT
*
prc
,
MARGINS
*
pMargins
);
PUXINI_FILE
UXINI_LoadINI
(
HMODULE
hTheme
,
LPCWSTR
lpName
);
void
UXINI_CloseINI
(
PUXINI_FILE
uf
);
LPCWSTR
UXINI_GetNextSection
(
PUXINI_FILE
uf
,
DWORD
*
dwLen
);
BOOL
UXINI_FindSection
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
);
LPCWSTR
UXINI_GetNextValue
(
PUXINI_FILE
uf
,
DWORD
*
dwNameLen
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
);
BOOL
UXINI_FindValue
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
);
HRESULT
MSSTYLES_OpenThemeFile
(
LPCWSTR
lpThemeFile
,
LPCWSTR
pszColorName
,
LPCWSTR
pszSizeName
,
PTHEME_FILE
*
tf
)
DECLSPEC_HIDDEN
;
void
MSSTYLES_CloseThemeFile
(
PTHEME_FILE
tf
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_SetActiveTheme
(
PTHEME_FILE
tf
,
BOOL
setMetrics
)
DECLSPEC_HIDDEN
;
PTHEME_CLASS
MSSTYLES_OpenThemeClass
(
LPCWSTR
pszAppName
,
LPCWSTR
pszClassList
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_CloseThemeClass
(
PTHEME_CLASS
tc
)
DECLSPEC_HIDDEN
;
BOOL
MSSTYLES_LookupProperty
(
LPCWSTR
pszPropertyName
,
int
*
dwPrimitive
,
int
*
dwId
)
DECLSPEC_HIDDEN
;
BOOL
MSSTYLES_LookupEnum
(
LPCWSTR
pszValueName
,
int
dwEnum
,
int
*
dwValue
)
DECLSPEC_HIDDEN
;
BOOL
MSSTYLES_LookupPartState
(
LPCWSTR
pszClass
,
LPCWSTR
pszPart
,
LPCWSTR
pszState
,
int
*
iPartId
,
int
*
iStateId
)
DECLSPEC_HIDDEN
;
PUXINI_FILE
MSSTYLES_GetThemeIni
(
PTHEME_FILE
tf
)
DECLSPEC_HIDDEN
;
PTHEME_PARTSTATE
MSSTYLES_FindPartState
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
PTHEME_CLASS
*
tcNext
)
DECLSPEC_HIDDEN
;
PTHEME_PROPERTY
MSSTYLES_FindProperty
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
int
iPropertyPrimitive
,
int
iPropertyId
)
DECLSPEC_HIDDEN
;
PTHEME_PROPERTY
MSSTYLES_FindMetric
(
int
iPropertyPrimitive
,
int
iPropertyId
)
DECLSPEC_HIDDEN
;
HBITMAP
MSSTYLES_LoadBitmap
(
PTHEME_CLASS
tc
,
LPCWSTR
lpFilename
,
BOOL
*
hasAlpha
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyBool
(
PTHEME_PROPERTY
tp
,
BOOL
*
pfVal
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyColor
(
PTHEME_PROPERTY
tp
,
COLORREF
*
pColor
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyFont
(
PTHEME_PROPERTY
tp
,
HDC
hdc
,
LOGFONTW
*
pFont
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyInt
(
PTHEME_PROPERTY
tp
,
int
*
piVal
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyIntList
(
PTHEME_PROPERTY
tp
,
INTLIST
*
pIntList
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyPosition
(
PTHEME_PROPERTY
tp
,
POINT
*
pPoint
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyString
(
PTHEME_PROPERTY
tp
,
LPWSTR
pszBuff
,
int
cchMaxBuffChars
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyRect
(
PTHEME_PROPERTY
tp
,
RECT
*
pRect
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyMargins
(
PTHEME_PROPERTY
tp
,
RECT
*
prc
,
MARGINS
*
pMargins
)
DECLSPEC_HIDDEN
;
PUXINI_FILE
UXINI_LoadINI
(
HMODULE
hTheme
,
LPCWSTR
lpName
)
DECLSPEC_HIDDEN
;
void
UXINI_CloseINI
(
PUXINI_FILE
uf
)
DECLSPEC_HIDDEN
;
LPCWSTR
UXINI_GetNextSection
(
PUXINI_FILE
uf
,
DWORD
*
dwLen
)
DECLSPEC_HIDDEN
;
BOOL
UXINI_FindSection
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
)
DECLSPEC_HIDDEN
;
LPCWSTR
UXINI_GetNextValue
(
PUXINI_FILE
uf
,
DWORD
*
dwNameLen
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
)
DECLSPEC_HIDDEN
;
BOOL
UXINI_FindValue
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
)
DECLSPEC_HIDDEN
;
#endif
dlls/uxtheme/system.c
View file @
790c1070
...
...
@@ -57,8 +57,8 @@ static const WCHAR szDllName[] = {'D','l','l','N','a','m','e','\0'};
static
const
WCHAR
szIniDocumentation
[]
=
{
'd'
,
'o'
,
'c'
,
'u'
,
'm'
,
'e'
,
'n'
,
't'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'\0'
};
HINSTANCE
hDllInst
;
ATOM
atDialogThemeEnabled
;
DECLSPEC_HIDDEN
HINSTANCE
hDllInst
;
DECLSPEC_HIDDEN
ATOM
atDialogThemeEnabled
;
static
DWORD
dwThemeAppProperties
=
STAP_ALLOW_NONCLIENT
|
STAP_ALLOW_CONTROLS
;
static
ATOM
atWindowTheme
;
...
...
dlls/uxtheme/uxthemedll.h
View file @
790c1070
...
...
@@ -76,25 +76,25 @@ typedef struct tagTHEMENAMES
}
THEMENAMES
,
*
PTHEMENAMES
;
/* Declarations for undocumented functions for use internally */
DWORD
WINAPI
QueryThemeServices
(
void
);
DWORD
WINAPI
QueryThemeServices
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
OpenThemeFile
(
LPCWSTR
pszThemeFileName
,
LPCWSTR
pszColorName
,
LPCWSTR
pszSizeName
,
HTHEMEFILE
*
hThemeFile
,
DWORD
unknown
);
HRESULT
WINAPI
CloseThemeFile
(
HTHEMEFILE
hThemeFile
);
HRESULT
WINAPI
ApplyTheme
(
HTHEMEFILE
hThemeFile
,
char
*
unknown
,
HWND
hWnd
);
DWORD
unknown
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
CloseThemeFile
(
HTHEMEFILE
hThemeFile
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
ApplyTheme
(
HTHEMEFILE
hThemeFile
,
char
*
unknown
,
HWND
hWnd
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
GetThemeDefaults
(
LPCWSTR
pszThemeFileName
,
LPWSTR
pszColorName
,
DWORD
dwColorNameLen
,
LPWSTR
pszSizeName
,
DWORD
dwSizeNameLen
);
DWORD
dwSizeNameLen
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
EnumThemes
(
LPCWSTR
pszThemePath
,
EnumThemeProc
callback
,
LPVOID
lpData
);
LPVOID
lpData
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
EnumThemeColors
(
LPWSTR
pszThemeFileName
,
LPWSTR
pszSizeName
,
DWORD
dwColorNum
,
PTHEMENAMES
pszColorNames
);
DWORD
dwColorNum
,
PTHEMENAMES
pszColorNames
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
EnumThemeSizes
(
LPWSTR
pszThemeFileName
,
LPWSTR
pszColorName
,
DWORD
dwSizeNum
,
PTHEMENAMES
pszColorNames
);
DWORD
dwSizeNum
,
PTHEMENAMES
pszColorNames
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
ParseThemeIniFile
(
LPCWSTR
pszIniFileName
,
LPWSTR
pszUnknown
,
ParseThemeIniFileProc
callback
,
LPVOID
lpData
);
ParseThemeIniFileProc
callback
,
LPVOID
lpData
)
DECLSPEC_HIDDEN
;
extern
void
UXTHEME_InitSystem
(
HINSTANCE
hInst
);
extern
void
UXTHEME_InitSystem
(
HINSTANCE
hInst
)
DECLSPEC_HIDDEN
;
/* No alpha blending */
#define ALPHABLEND_NONE 0
...
...
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