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
366fcaf1
Commit
366fcaf1
authored
Dec 03, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove some unused functions.
parent
174cc24f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
77 deletions
+2
-77
shellole.c
dlls/shell32/shellole.c
+2
-19
shellreg.c
dlls/shell32/shellreg.c
+0
-11
shlfsbind.c
dlls/shell32/shlfsbind.c
+0
-47
No files found.
dlls/shell32/shellole.c
View file @
366fcaf1
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
shell
);
WINE_DEFAULT_DEBUG_CHANNEL
(
shell
);
extern
HRESULT
WINAPI
IFSFolder_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppv
);
extern
INT
WINAPI
SHStringFromGUIDW
(
REFGUID
guid
,
LPWSTR
lpszDest
,
INT
cchMax
);
/* shlwapi.24 */
/**************************************************************************
/**************************************************************************
* Default ClassFactory types
* Default ClassFactory types
...
@@ -77,23 +77,6 @@ static const struct {
...
@@ -77,23 +77,6 @@ static const struct {
};
};
/* FIXME: this should be SHLWAPI.24 since we can't yet import by ordinal */
DWORD
WINAPI
__SHGUIDToStringW
(
REFGUID
guid
,
LPWSTR
str
)
{
WCHAR
sFormat
[
52
]
=
{
'{'
,
'%'
,
'0'
,
'8'
,
'l'
,
'x'
,
'-'
,
'%'
,
'0'
,
'4'
,
'x'
,
'-'
,
'%'
,
'0'
,
'4'
,
'x'
,
'-'
,
'%'
,
'0'
,
'2'
,
'x'
,
'%'
,
'0'
,
'2'
,
'x'
,
'-'
,
'%'
,
'0'
,
'2'
,
'x'
,
'%'
,
'0'
,
'2'
,
'x'
,
'%'
,
'0'
,
'2'
,
'x'
,
'%'
,
'0'
,
'2'
,
'x'
,
'%'
,
'0'
,
'2'
,
'x'
,
'%'
,
'0'
,
'2'
,
'x'
,
'}'
,
'\0'
};
return
wsprintfW
(
str
,
sFormat
,
guid
->
Data1
,
guid
->
Data2
,
guid
->
Data3
,
guid
->
Data4
[
0
],
guid
->
Data4
[
1
],
guid
->
Data4
[
2
],
guid
->
Data4
[
3
],
guid
->
Data4
[
4
],
guid
->
Data4
[
5
],
guid
->
Data4
[
6
],
guid
->
Data4
[
7
]
);
}
/*************************************************************************
/*************************************************************************
* SHCoCreateInstance [SHELL32.102]
* SHCoCreateInstance [SHELL32.102]
...
@@ -153,7 +136,7 @@ HRESULT WINAPI SHCoCreateInstance(
...
@@ -153,7 +136,7 @@ HRESULT WINAPI SHCoCreateInstance(
}
}
/* we look up the dll path in the registry */
/* we look up the dll path in the registry */
__SHGUIDToStringW
(
myclsid
,
sClassID
);
SHStringFromGUIDW
(
myclsid
,
sClassID
,
sizeof
(
sClassID
)
/
sizeof
(
WCHAR
)
);
lstrcpyW
(
sKeyName
,
sCLSID
);
lstrcpyW
(
sKeyName
,
sCLSID
);
lstrcatW
(
sKeyName
,
sClassID
);
lstrcatW
(
sKeyName
,
sClassID
);
lstrcatW
(
sKeyName
,
sInProcServer32
);
lstrcatW
(
sKeyName
,
sInProcServer32
);
...
...
dlls/shell32/shellreg.c
View file @
366fcaf1
...
@@ -129,17 +129,6 @@ HRESULT WINAPI SHRegQueryValueExW (
...
@@ -129,17 +129,6 @@ HRESULT WINAPI SHRegQueryValueExW (
}
}
/*************************************************************************
/*************************************************************************
* SHRegDeleteKeyA [SHELL32.?]
*/
HRESULT
WINAPI
SHRegDeleteKeyA
(
HKEY
hkey
,
LPCSTR
pszSubKey
)
{
FIXME
(
"hkey=%p, %s
\n
"
,
hkey
,
debugstr_a
(
pszSubKey
));
return
0
;
}
/*************************************************************************
* SHRegDeleteKeyW [SHELL32.512]
* SHRegDeleteKeyW [SHELL32.512]
*/
*/
HRESULT
WINAPI
SHRegDeleteKeyW
(
HRESULT
WINAPI
SHRegDeleteKeyW
(
...
...
dlls/shell32/shlfsbind.c
View file @
366fcaf1
...
@@ -103,53 +103,6 @@ HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC
...
@@ -103,53 +103,6 @@ HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC
return
ret
;
return
ret
;
}
}
HRESULT
WINAPI
FileSystemBindData_GetFindData
(
LPBC
pbc
,
WIN32_FIND_DATAW
*
pfd
)
{
LPUNKNOWN
pUnk
;
IFileSystemBindData
*
pfsbd
=
NULL
;
HRESULT
ret
;
TRACE
(
"%p, %p
\n
"
,
pbc
,
pfd
);
if
(
!
pfd
)
return
E_INVALIDARG
;
ret
=
IBindCtx_GetObjectParam
(
pbc
,
(
LPOLESTR
)
wFileSystemBindData
,
&
pUnk
);
if
(
SUCCEEDED
(
ret
))
{
ret
=
IUnknown_QueryInterface
(
pUnk
,
&
IID_IFileSystemBindData
,
(
LPVOID
*
)
&
pfsbd
);
if
(
SUCCEEDED
(
ret
))
{
ret
=
IFileSystemBindData_GetFindData
(
pfsbd
,
pfd
);
IFileSystemBindData_Release
(
pfsbd
);
}
IUnknown_Release
(
pUnk
);
}
return
ret
;
}
HRESULT
WINAPI
FileSystemBindData_SetFindData
(
LPBC
pbc
,
const
WIN32_FIND_DATAW
*
pfd
)
{
LPUNKNOWN
pUnk
;
IFileSystemBindData
*
pfsbd
=
NULL
;
HRESULT
ret
;
TRACE
(
"%p, %p
\n
"
,
pbc
,
pfd
);
ret
=
IBindCtx_GetObjectParam
(
pbc
,
(
LPOLESTR
)
wFileSystemBindData
,
&
pUnk
);
if
(
SUCCEEDED
(
ret
))
{
ret
=
IUnknown_QueryInterface
(
pUnk
,
&
IID_IFileSystemBindData
,
(
LPVOID
*
)
&
pfsbd
);
if
(
SUCCEEDED
(
ret
))
{
ret
=
IFileSystemBindData_SetFindData
(
pfsbd
,
pfd
);
IFileSystemBindData_Release
(
pfsbd
);
}
IUnknown_Release
(
pUnk
);
}
return
ret
;
}
static
HRESULT
WINAPI
IFileSystemBindData_fnQueryInterface
(
static
HRESULT
WINAPI
IFileSystemBindData_fnQueryInterface
(
IFileSystemBindData
*
iface
,
REFIID
riid
,
LPVOID
*
ppV
)
IFileSystemBindData
*
iface
,
REFIID
riid
,
LPVOID
*
ppV
)
{
{
...
...
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