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
88a8ff02
Commit
88a8ff02
authored
Aug 09, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Aug 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_CreateAllAccessSecurityAttributes takes three parameters.
parent
475f2336
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+1
-1
thread.c
dlls/shlwapi/thread.c
+4
-3
No files found.
dlls/shlwapi/shlwapi.spec
View file @
88a8ff02
...
...
@@ -353,7 +353,7 @@
353 stub -noname SHFormatDateTimeA
354 stub -noname SHFormatDateTimeW
355 stdcall -noname IUnknown_EnableModeless(ptr long)
356 stdcall -noname _CreateAllAccessSecurityAttributes(ptr ptr)
356 stdcall -noname _CreateAllAccessSecurityAttributes(ptr ptr
long
)
357 stdcall -noname SHGetNewLinkInfoWrapW(wstr wstr wstr long long)
358 stdcall -noname SHDefExtractIconWrapW(wstr long long ptr ptr long)
359 stdcall @(long long wstr) kernel32.OpenEventW
...
...
dlls/shlwapi/thread.c
View file @
88a8ff02
...
...
@@ -75,12 +75,13 @@ DWORD WINAPI SHStringFromGUIDA(REFGUID,LPSTR,INT);
*/
LPSECURITY_ATTRIBUTES
WINAPI
_CreateAllAccessSecurityAttributes
(
LPSECURITY_ATTRIBUTES
lpAttr
,
PSECURITY_DESCRIPTOR
lpSec
)
PSECURITY_DESCRIPTOR
lpSec
,
DWORD
p3
)
{
/* This function is used within SHLWAPI only to create security attributes
* for shell semaphores. */
TRACE
(
"(%p,%p
)
\n
"
,
lpAttr
,
lpSec
);
TRACE
(
"(%p,%p
,%08lx)
\n
"
,
lpAttr
,
lpSec
,
p3
);
if
(
!
(
GetVersion
()
&
0x80000000
))
/* NT */
{
...
...
@@ -426,7 +427,7 @@ HANDLE WINAPI _SHGlobalCounterCreateNamedW(LPCWSTR lpszName, DWORD iInitial)
StrCpyNW
(
szBuff
+
iPrefixLen
,
lpszName
,
iBuffLen
-
iPrefixLen
);
/* Initialise security attributes */
pSecAttr
=
_CreateAllAccessSecurityAttributes
(
&
sAttr
,
&
sd
);
pSecAttr
=
_CreateAllAccessSecurityAttributes
(
&
sAttr
,
&
sd
,
0
);
if
(
!
(
hRet
=
CreateSemaphoreW
(
pSecAttr
,
iInitial
,
MAXLONG
,
szBuff
)))
hRet
=
OpenSemaphoreW
(
SYNCHRONIZE
|
SEMAPHORE_MODIFY_STATE
,
0
,
szBuff
);
...
...
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