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
55c0bcaf
Commit
55c0bcaf
authored
Apr 22, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Apr 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- corrected parameter count for SHGetSettings
- stub SHValidateUNC
parent
8102f748
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
shellord.c
dlls/shell32/shellord.c
+11
-3
shlobj.h
include/shlobj.h
+1
-1
shell32.spec
relay32/shell32.spec
+2
-2
No files found.
dlls/shell32/shellord.c
View file @
55c0bcaf
...
...
@@ -126,15 +126,15 @@ DWORD WINAPI GetFileNameFromBrowse(HWND howner, LPSTR targetbuf, DWORD len, DWOR
* the registry path are for win98 (tested)
* and possibly are the same in nt40
*/
void
WINAPI
SHGetSettings
(
LPSHELLFLAGSTATE
lpsfs
,
DWORD
dwMask
)
void
WINAPI
SHGetSettings
(
LPSHELLFLAGSTATE
lpsfs
,
DWORD
dwMask
,
DWORD
dwx
)
{
HKEY
hKey
;
DWORD
dwData
;
DWORD
dwDataSize
=
sizeof
(
DWORD
);
TRACE
(
shell
,
"(%p
,0x%08lx)
\n
"
,
lpsfs
,
dwMask
);
TRACE
(
shell
,
"(%p
0x%08lx 0x%08x)
\n
"
,
lpsfs
,
dwMask
,
dwx
);
if
(
RegCreateKeyExA
(
HKEY_CURRENT_USER
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Policies
\\
Advanced"
,
if
(
RegCreateKeyExA
(
HKEY_CURRENT_USER
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer
\\
Advanced"
,
0
,
0
,
0
,
KEY_ALL_ACCESS
,
0
,
&
hKey
,
0
))
return
;
...
...
@@ -1113,3 +1113,11 @@ int WINAPI StrToOleStr (LPWSTR lpWideCharStr, LPCSTR lpMultiByteString)
return
MultiByteToWideChar
(
0
,
0
,
lpMultiByteString
,
-
1
,
lpWideCharStr
,
MAX_PATH
);
}
/************************************************************************
* SHValidateUNC [SHELL32.173]
*
*/
HRESULT
SHValidateUNC
(
DWORD
x
,
DWORD
y
,
DWORD
z
)
{
FIXME
(
shell
,
"0x%08lx 0x%08lx 0x%08x stub
\n
"
,
x
,
y
,
z
);
return
0
;
}
include/shlobj.h
View file @
55c0bcaf
...
...
@@ -432,7 +432,7 @@ typedef struct
UINT
fRestFlags
:
3
;
}
SHELLFLAGSTATE
,
*
LPSHELLFLAGSTATE
;
void
WINAPI
SHGetSettings
(
LPSHELLFLAGSTATE
lpsfs
,
DWORD
dwMask
);
void
WINAPI
SHGetSettings
(
LPSHELLFLAGSTATE
lpsfs
,
DWORD
dwMask
,
DWORD
dwx
);
#define SSF_SHOWALLOBJECTS 0x0001
#define SSF_SHOWEXTENSIONS 0x0002
...
...
relay32/shell32.spec
View file @
55c0bcaf
...
...
@@ -73,7 +73,7 @@ init Shell32LibMain
65 stub InvalidateDriveType
66 stub IsNetDrive
67 stdcall Shell_MergeMenus (long long long long long long) Shell_MergeMenus
68 stdcall SHGetSettings(long long) SHGetSettings
68 stdcall SHGetSettings(
ptr
long long) SHGetSettings
69 stub SHGetNetResource
70 stub SHCreateDefClassObject
71 stdcall Shell_GetImageList(ptr ptr) Shell_GetImageList
...
...
@@ -178,7 +178,7 @@ init Shell32LibMain
170 stub SHReplaceFromPropSheetExtArray
171 stub PathCleanupSpec
172 stub SHCreateLinks
173 st
ub
SHValidateUNC
173 st
dcall SHValidateUNC(long long long)
SHValidateUNC
174 stdcall SHCreateShellFolderViewEx (ptr ptr) SHCreateShellFolderViewEx
175 stdcall SHGetSpecialFolderPath(long long long long) SHGetSpecialFolderPath
176 stdcall SHSetInstanceExplorer (long) SHSetInstanceExplorer
...
...
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