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
866d79c1
Commit
866d79c1
authored
Dec 16, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- actually use PLUID
- initialize the outbound lpLuid variable with bogus values
parent
6ac84072
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
security.c
dlls/advapi32/security.c
+4
-5
winbase.h
include/winbase.h
+2
-2
No files found.
dlls/advapi32/security.c
View file @
866d79c1
...
...
@@ -610,9 +610,6 @@ DWORD WINAPI InitializeAcl(PACL acl, DWORD size, DWORD rev)
* LookupPrivilegeValueW [ADVAPI32.@]
* Retrieves LUID used on a system to represent the privilege name.
*
* NOTES
* lpLuid should be PLUID
*
* PARAMS
* lpSystemName [I] Address of string specifying the system
* lpName [I] Address of string specifying the privilege
...
...
@@ -621,10 +618,12 @@ DWORD WINAPI InitializeAcl(PACL acl, DWORD size, DWORD rev)
* RETURNS STD
*/
BOOL
WINAPI
LookupPrivilegeValueW
(
LPCWSTR
lpSystemName
,
LPCWSTR
lpName
,
LPVO
ID
lpLuid
)
LookupPrivilegeValueW
(
LPCWSTR
lpSystemName
,
LPCWSTR
lpName
,
PLU
ID
lpLuid
)
{
FIXME
(
"(%s,%s,%p): stub
\n
"
,
debugstr_w
(
lpSystemName
),
debugstr_w
(
lpName
),
lpLuid
);
lpLuid
->
LowPart
=
0x12345678
;
lpLuid
->
HighPart
=
0x87654321
;
return
TRUE
;
}
...
...
@@ -632,7 +631,7 @@ LookupPrivilegeValueW( LPCWSTR lpSystemName, LPCWSTR lpName, LPVOID lpLuid )
* LookupPrivilegeValueA [ADVAPI32.@]
*/
BOOL
WINAPI
LookupPrivilegeValueA
(
LPCSTR
lpSystemName
,
LPCSTR
lpName
,
LPVO
ID
lpLuid
)
LookupPrivilegeValueA
(
LPCSTR
lpSystemName
,
LPCSTR
lpName
,
PLU
ID
lpLuid
)
{
LPWSTR
lpSystemNameW
=
HEAP_strdupAtoW
(
GetProcessHeap
(),
0
,
lpSystemName
);
LPWSTR
lpNameW
=
HEAP_strdupAtoW
(
GetProcessHeap
(),
0
,
lpName
);
...
...
include/winbase.h
View file @
866d79c1
...
...
@@ -1379,8 +1379,8 @@ BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,
BOOL
WINAPI
LocalFileTimeToFileTime
(
const
FILETIME
*
,
LPFILETIME
);
BOOL
WINAPI
LockFile
(
HANDLE
,
DWORD
,
DWORD
,
DWORD
,
DWORD
);
BOOL
WINAPI
LockFileEx
(
HANDLE
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
LPOVERLAPPED
);
BOOL
WINAPI
LookupPrivilegeValueA
(
LPCSTR
,
LPCSTR
,
LPVO
ID
);
BOOL
WINAPI
LookupPrivilegeValueW
(
LPCWSTR
,
LPCWSTR
,
LPVO
ID
);
BOOL
WINAPI
LookupPrivilegeValueA
(
LPCSTR
,
LPCSTR
,
PLU
ID
);
BOOL
WINAPI
LookupPrivilegeValueW
(
LPCWSTR
,
LPCWSTR
,
PLU
ID
);
#define LookupPrivilegeValue WINELIB_NAME_AW(LookupPrivilegeValue)
BOOL
WINAPI
MakeSelfRelativeSD
(
PSECURITY_DESCRIPTOR
,
PSECURITY_DESCRIPTOR
,
LPDWORD
);
HMODULE
WINAPI
MapHModuleSL
(
WORD
);
...
...
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