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
27213de0
Commit
27213de0
authored
Oct 17, 2007
by
Bang Jun-young
Committed by
Alexandre Julliard
Oct 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix AdjustTokenPrivileges() to match the PSDK.
parent
370b881f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
security.c
dlls/advapi32/security.c
+2
-2
winbase.h
include/winbase.h
+1
-1
No files found.
dlls/advapi32/security.c
View file @
27213de0
...
...
@@ -552,8 +552,8 @@ AdjustTokenGroups( HANDLE TokenHandle, BOOL ResetToDefault, PTOKEN_GROUPS NewSta
*/
BOOL
WINAPI
AdjustTokenPrivileges
(
HANDLE
TokenHandle
,
BOOL
DisableAllPrivileges
,
LPVOID
NewState
,
DWORD
BufferLength
,
LPVOID
PreviousState
,
LPDWORD
ReturnLength
)
PTOKEN_PRIVILEGES
NewState
,
DWORD
BufferLength
,
PTOKEN_PRIVILEGES
PreviousState
,
LPDWORD
ReturnLength
)
{
NTSTATUS
status
;
...
...
include/winbase.h
View file @
27213de0
...
...
@@ -1253,7 +1253,7 @@ BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY
BOOL
WINAPI
AccessCheckAndAuditAlarmW
(
LPCWSTR
,
LPVOID
,
LPWSTR
,
LPWSTR
,
PSECURITY_DESCRIPTOR
,
DWORD
,
PGENERIC_MAPPING
,
BOOL
,
LPDWORD
,
LPBOOL
,
LPBOOL
);
#define AccessCheckAndAuditAlarm WINELIB_NAME_AW(AccessCheckAndAuditAlarm)
BOOL
WINAPI
AccessCheckByType
(
PSECURITY_DESCRIPTOR
,
PSID
,
HANDLE
,
DWORD
,
POBJECT_TYPE_LIST
,
DWORD
,
PGENERIC_MAPPING
,
PPRIVILEGE_SET
,
LPDWORD
,
LPDWORD
,
LPBOOL
);
BOOL
WINAPI
AdjustTokenPrivileges
(
HANDLE
,
BOOL
,
LPVOID
,
DWORD
,
LPVOID
,
LPDWORD
);
BOOL
WINAPI
AdjustTokenPrivileges
(
HANDLE
,
BOOL
,
PTOKEN_PRIVILEGES
,
DWORD
,
PTOKEN_PRIVILEGES
,
LPDWORD
);
BOOL
WINAPI
AllocateAndInitializeSid
(
PSID_IDENTIFIER_AUTHORITY
,
BYTE
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
PSID
*
);
BOOL
WINAPI
AllocateLocallyUniqueId
(
PLUID
);
BOOL
WINAPI
AreAllAccessesGranted
(
DWORD
,
DWORD
);
...
...
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