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
c390bb2a
Commit
c390bb2a
authored
Jun 28, 2004
by
Ge van Geldorp
Committed by
Alexandre Julliard
Jun 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Match prototypes to Platform SDK.
parent
163eb22b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
21 deletions
+19
-21
pidl.c
dlls/shell32/pidl.c
+1
-1
shell32_main.c
dlls/shell32/shell32_main.c
+1
-1
shellole.c
dlls/shell32/shellole.c
+1
-1
shellord.c
dlls/shell32/shellord.c
+8
-10
shlfileop.c
dlls/shell32/shlfileop.c
+3
-3
shlobj.h
include/shlobj.h
+5
-5
No files found.
dlls/shell32/pidl.c
View file @
c390bb2a
...
...
@@ -204,7 +204,7 @@ LPITEMIDLIST WINAPI ILFindLastID(LPCITEMIDLIST pidl)
* NOTES
* when pidl=Desktop return=FALSE
*/
BOOL
WINAPI
ILRemoveLastID
(
LP
C
ITEMIDLIST
pidl
)
BOOL
WINAPI
ILRemoveLastID
(
LPITEMIDLIST
pidl
)
{
TRACE_
(
shell
)(
"pidl=%p
\n
"
,
pidl
);
...
...
dlls/shell32/shell32_main.c
View file @
c390bb2a
...
...
@@ -712,7 +712,7 @@ DWORD WINAPI SHHelpShortcuts_RunDLL (DWORD dwArg1, DWORD dwArg2, DWORD dwArg3, D
* the shell process and release it immediately
*/
DWORD
WINAPI
SHLoadInProc
(
REFCLSID
rclsid
)
HRESULT
WINAPI
SHLoadInProc
(
REFCLSID
rclsid
)
{
void
*
ptr
=
NULL
;
...
...
dlls/shell32/shellole.c
View file @
c390bb2a
...
...
@@ -473,7 +473,7 @@ void WINAPI SHFree(LPVOID pv)
/*************************************************************************
* SHGetDesktopFolder [SHELL32.@]
*/
DWORD
WINAPI
SHGetDesktopFolder
(
IShellFolder
**
psf
)
HRESULT
WINAPI
SHGetDesktopFolder
(
IShellFolder
**
psf
)
{
HRESULT
hres
=
S_OK
;
TRACE
(
"
\n
"
);
...
...
dlls/shell32/shellord.c
View file @
c390bb2a
...
...
@@ -606,10 +606,8 @@ static INT SHADD_create_add_mru_data(HANDLE mruhandle, LPSTR doc_name, LPSTR new
*
* NOTES
* exported by name
*
* FIXME: ?? MSDN shows this as a VOID
*/
DWORD
WINAPI
SHAddToRecentDocs
(
UINT
uFlags
,
LPCVOID
pv
)
void
WINAPI
SHAddToRecentDocs
(
UINT
uFlags
,
LPCVOID
pv
)
{
/* If list is a string list lpfnCompare has the following prototype
* int CALLBACK MRUCompareString(LPCSTR s1, LPCSTR s2)
...
...
@@ -648,20 +646,20 @@ DWORD WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
ret
=
SHADD_get_policy
(
"NoRecentDocsHistory"
,
&
type
,
&
data
,
&
datalen
);
if
((
ret
>
0
)
&&
(
ret
!=
ERROR_FILE_NOT_FOUND
))
{
ERR
(
"Error %d getting policy
\"
NoRecentDocsHistory
\"\n
"
,
ret
);
return
0
;
return
;
}
if
(
ret
==
ERROR_SUCCESS
)
{
if
(
!
(
(
type
==
REG_DWORD
)
||
((
type
==
REG_BINARY
)
&&
(
datalen
==
4
))
))
{
ERR
(
"Error policy data for
\"
NoRecentDocsHistory
\"
not formated correctly, type=%ld, len=%ld
\n
"
,
type
,
datalen
);
return
0
;
return
;
}
TRACE
(
"policy value for NoRecentDocsHistory = %08lx
\n
"
,
data
[
0
]);
/* now test the actual policy value */
if
(
data
[
0
]
!=
0
)
return
0
;
return
;
}
/* Open key to where the necessary info is
...
...
@@ -674,7 +672,7 @@ DWORD WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer"
,
0
,
0
,
0
,
KEY_READ
,
0
,
&
HCUbasekey
,
0
))
{
ERR
(
"Failed to create 'Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer'
\n
"
);
return
0
;
return
;
}
/* Get path to user's "Recent" directory
...
...
@@ -724,7 +722,7 @@ DWORD WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
*/
RegDeleteKeyA
(
HCUbasekey
,
"RecentDocs"
);
RegCloseKey
(
HCUbasekey
);
return
0
;
return
;
}
/* Have data to add, the jobs to be done:
...
...
@@ -780,7 +778,7 @@ DWORD WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
/* MRU failed */
ERR
(
"MRU processing failed, handle zero
\n
"
);
RegCloseKey
(
HCUbasekey
);
return
0
;
return
;
}
len
=
lstrlenA
(
doc_name
);
pos
=
FindMRUData
(
mruhandle
,
doc_name
,
len
,
0
);
...
...
@@ -929,7 +927,7 @@ DWORD WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
/* all done */
RegCloseKey
(
HCUbasekey
);
return
0
;
return
;
}
/*************************************************************************
...
...
dlls/shell32/shlfileop.c
View file @
c390bb2a
...
...
@@ -545,7 +545,7 @@ DWORD WINAPI SHCreateDirectory(HWND hWnd, LPCVOID path)
* ERROR_ALREADY_EXISTS when the directory already exists
* ERROR_FILENAME_EXCED_RANGE if the filename was to long to process
*/
DWORD
WINAPI
SHCreateDirectoryExA
(
HWND
hWnd
,
LPCSTR
path
,
LPSECURITY_ATTRIBUTES
sec
)
int
WINAPI
SHCreateDirectoryExA
(
HWND
hWnd
,
LPCSTR
path
,
LPSECURITY_ATTRIBUTES
sec
)
{
WCHAR
wPath
[
MAX_PATH
];
TRACE
(
"(%p, %s, %p)
\n
"
,
hWnd
,
debugstr_a
(
path
),
sec
);
...
...
@@ -557,9 +557,9 @@ DWORD WINAPI SHCreateDirectoryExA(HWND hWnd, LPCSTR path, LPSECURITY_ATTRIBUTES
/*************************************************************************
* SHCreateDirectoryExW [SHELL32.@]
*/
DWORD
WINAPI
SHCreateDirectoryExW
(
HWND
hWnd
,
LPCWSTR
path
,
LPSECURITY_ATTRIBUTES
sec
)
int
WINAPI
SHCreateDirectoryExW
(
HWND
hWnd
,
LPCWSTR
path
,
LPSECURITY_ATTRIBUTES
sec
)
{
DWORD
ret
=
ERROR_BAD_PATHNAME
;
int
ret
=
ERROR_BAD_PATHNAME
;
TRACE
(
"(%p, %s, %p)
\n
"
,
hWnd
,
debugstr_w
(
path
),
sec
);
if
(
PathIsRelativeW
(
path
))
...
...
include/shlobj.h
View file @
c390bb2a
...
...
@@ -200,7 +200,7 @@ ICOM_DEFINE(IShellIcon, IUnknown)
#define SHARD_PATHW 0x00000003L
#define SHARD_PATH WINELIB_NAME_AW(SHARD_PATH)
DWORD
WINAPI
SHAddToRecentDocs
(
UINT
uFlags
,
LPCVOID
pv
);
void
WINAPI
SHAddToRecentDocs
(
UINT
uFlags
,
LPCVOID
pv
);
/****************************************************************************
* SHBrowseForFolder API
...
...
@@ -701,8 +701,8 @@ HRESULT WINAPI SHGetRealIDL(IShellFolder *psf, LPCITEMIDLIST pidlSimple, LPITEMI
* SHCreateDirectory API
*/
DWORD
WINAPI
SHCreateDirectory
(
HWND
,
LPCVOID
);
DWORD
WINAPI
SHCreateDirectoryExA
(
HWND
,
LPCSTR
,
LPSECURITY_ATTRIBUTES
);
DWORD
WINAPI
SHCreateDirectoryExW
(
HWND
,
LPCWSTR
,
LPSECURITY_ATTRIBUTES
);
int
WINAPI
SHCreateDirectoryExA
(
HWND
,
LPCSTR
,
LPSECURITY_ATTRIBUTES
);
int
WINAPI
SHCreateDirectoryExW
(
HWND
,
LPCWSTR
,
LPSECURITY_ATTRIBUTES
);
/****************************************************************************
* SHGetSpecialFolderLocation API
...
...
@@ -791,7 +791,7 @@ HRESULT WINAPI SHGetFolderPathW(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwF
/****************************************************************************
* SHGetDesktopFolder API
*/
DWORD
WINAPI
SHGetDesktopFolder
(
IShellFolder
*
*
);
HRESULT
WINAPI
SHGetDesktopFolder
(
IShellFolder
*
*
);
/****************************************************************************
* SHBindToParent API
...
...
@@ -1014,7 +1014,7 @@ LPITEMIDLIST WINAPI ILGetNext(LPCITEMIDLIST);
UINT
WINAPI
ILGetSize
(
LPCITEMIDLIST
);
BOOL
WINAPI
ILIsEqual
(
LPCITEMIDLIST
,
LPCITEMIDLIST
);
BOOL
WINAPI
ILIsParent
(
LPCITEMIDLIST
,
LPCITEMIDLIST
,
BOOL
);
BOOL
WINAPI
ILRemoveLastID
(
LP
C
ITEMIDLIST
);
BOOL
WINAPI
ILRemoveLastID
(
LPITEMIDLIST
);
#ifdef __cplusplus
}
/* extern "C" */
...
...
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