Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a3973e0c
Commit
a3973e0c
authored
Nov 24, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Remove WINAPI on static functions where not needed.
parent
abe85bcb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
ordinal.c
dlls/shlwapi/ordinal.c
+2
-3
path.c
dlls/shlwapi/path.c
+4
-4
reg.c
dlls/shlwapi/reg.c
+1
-1
No files found.
dlls/shlwapi/ordinal.c
View file @
a3973e0c
...
@@ -76,8 +76,7 @@ BOOL WINAPI SHAboutInfoW(LPWSTR,DWORD);
...
@@ -76,8 +76,7 @@ BOOL WINAPI SHAboutInfoW(LPWSTR,DWORD);
*
*
* Internal implemetation of SHLWAPI_11.
* Internal implemetation of SHLWAPI_11.
*/
*/
static
static
HANDLE
SHLWAPI_DupSharedHandle
(
HANDLE
hShared
,
DWORD
dwDstProcId
,
HANDLE
WINAPI
SHLWAPI_DupSharedHandle
(
HANDLE
hShared
,
DWORD
dwDstProcId
,
DWORD
dwSrcProcId
,
DWORD
dwAccess
,
DWORD
dwSrcProcId
,
DWORD
dwAccess
,
DWORD
dwOptions
)
DWORD
dwOptions
)
{
{
...
@@ -3546,7 +3545,7 @@ HRESULT WINAPI SHIShellFolder_EnumObjects(LPSHELLFOLDER lpFolder, HWND hwnd, SHC
...
@@ -3546,7 +3545,7 @@ HRESULT WINAPI SHIShellFolder_EnumObjects(LPSHELLFOLDER lpFolder, HWND hwnd, SHC
}
}
/* INTERNAL: Map from HLS color space to RGB */
/* INTERNAL: Map from HLS color space to RGB */
static
WORD
WINAPI
ConvertHue
(
int
wHue
,
WORD
wMid1
,
WORD
wMid2
)
static
WORD
ConvertHue
(
int
wHue
,
WORD
wMid1
,
WORD
wMid2
)
{
{
wHue
=
wHue
>
240
?
wHue
-
240
:
wHue
<
0
?
wHue
+
240
:
wHue
;
wHue
=
wHue
>
240
?
wHue
-
240
:
wHue
<
0
?
wHue
+
240
:
wHue
;
...
...
dlls/shlwapi/path.c
View file @
a3973e0c
...
@@ -1156,7 +1156,7 @@ BOOL WINAPI PathFileExistsDefExtA(LPSTR lpszPath,DWORD dwWhich)
...
@@ -1156,7 +1156,7 @@ BOOL WINAPI PathFileExistsDefExtA(LPSTR lpszPath,DWORD dwWhich)
*
*
* Internal helper for SHLWAPI_PathFindOnPathExA/W.
* Internal helper for SHLWAPI_PathFindOnPathExA/W.
*/
*/
static
BOOL
WINAPI
SHLWAPI_PathFindInOtherDirs
(
LPWSTR
lpszFile
,
DWORD
dwWhich
)
static
BOOL
SHLWAPI_PathFindInOtherDirs
(
LPWSTR
lpszFile
,
DWORD
dwWhich
)
{
{
static
const
WCHAR
szSystem
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
'\0'
};
static
const
WCHAR
szSystem
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
'\0'
};
static
const
WCHAR
szPath
[]
=
{
'P'
,
'A'
,
'T'
,
'H'
,
'\0'
};
static
const
WCHAR
szPath
[]
=
{
'P'
,
'A'
,
'T'
,
'H'
,
'\0'
};
...
@@ -1792,7 +1792,7 @@ BOOL WINAPI PathFileExistsAndAttributesW(LPCWSTR lpszPath, DWORD *dwAttr)
...
@@ -1792,7 +1792,7 @@ BOOL WINAPI PathFileExistsAndAttributesW(LPCWSTR lpszPath, DWORD *dwAttr)
/*************************************************************************
/*************************************************************************
* PathMatchSingleMaskA [internal]
* PathMatchSingleMaskA [internal]
*/
*/
static
BOOL
WINAPI
PathMatchSingleMaskA
(
LPCSTR
name
,
LPCSTR
mask
)
static
BOOL
PathMatchSingleMaskA
(
LPCSTR
name
,
LPCSTR
mask
)
{
{
while
(
*
name
&&
*
mask
&&
*
mask
!=
';'
)
while
(
*
name
&&
*
mask
&&
*
mask
!=
';'
)
{
{
...
@@ -1826,7 +1826,7 @@ static BOOL WINAPI PathMatchSingleMaskA(LPCSTR name, LPCSTR mask)
...
@@ -1826,7 +1826,7 @@ static BOOL WINAPI PathMatchSingleMaskA(LPCSTR name, LPCSTR mask)
/*************************************************************************
/*************************************************************************
* PathMatchSingleMaskW [internal]
* PathMatchSingleMaskW [internal]
*/
*/
static
BOOL
WINAPI
PathMatchSingleMaskW
(
LPCWSTR
name
,
LPCWSTR
mask
)
static
BOOL
PathMatchSingleMaskW
(
LPCWSTR
name
,
LPCWSTR
mask
)
{
{
while
(
*
name
&&
*
mask
&&
*
mask
!=
';'
)
while
(
*
name
&&
*
mask
&&
*
mask
!=
';'
)
{
{
...
@@ -2991,7 +2991,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
...
@@ -2991,7 +2991,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
*
*
* Internal helper for PathMakeSystemFolderW.
* Internal helper for PathMakeSystemFolderW.
*/
*/
static
BOOL
WINAPI
SHLWAPI_UseSystemForSystemFolders
(
void
)
static
BOOL
SHLWAPI_UseSystemForSystemFolders
(
void
)
{
{
static
BOOL
bCheckedReg
=
FALSE
;
static
BOOL
bCheckedReg
=
FALSE
;
static
BOOL
bUseSystemForSystemFolders
=
FALSE
;
static
BOOL
bUseSystemForSystemFolders
=
FALSE
;
...
...
dlls/shlwapi/reg.c
View file @
a3973e0c
...
@@ -66,7 +66,7 @@ HRESULT WINAPI SHRegGetCLSIDKeyW(REFGUID,LPCWSTR,BOOL,BOOL,PHKEY);
...
@@ -66,7 +66,7 @@ HRESULT WINAPI SHRegGetCLSIDKeyW(REFGUID,LPCWSTR,BOOL,BOOL,PHKEY);
* Function: Return the proper registry key from the HUSKEY structure
* Function: Return the proper registry key from the HUSKEY structure
* also allow special predefined values.
* also allow special predefined values.
*/
*/
static
HKEY
WINAPI
REG_GetHKEYFromHUSKEY
(
HUSKEY
hUSKey
,
BOOL
which
)
static
HKEY
REG_GetHKEYFromHUSKEY
(
HUSKEY
hUSKey
,
BOOL
which
)
{
{
HKEY
test
=
hUSKey
;
HKEY
test
=
hUSKey
;
LPSHUSKEY
mihk
=
hUSKey
;
LPSHUSKEY
mihk
=
hUSKey
;
...
...
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