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
028c4341
Commit
028c4341
authored
Jan 26, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 26, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added GetSecurityDescriptorOwner/Group, RevertToSelf stubs.
Return NULL from OpenThreadToken.
parent
03f10f44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
security.c
dlls/advapi32/security.c
+27
-0
advapi32.spec
relay32/advapi32.spec
+3
-3
No files found.
dlls/advapi32/security.c
View file @
028c4341
...
...
@@ -45,6 +45,7 @@ BOOL32 WINAPI OpenThreadToken( HANDLE32 thread,DWORD desiredaccess,
{
FIXME
(
advapi
,
"(%08x,%08lx,%d,%p): stub!
\n
"
,
thread
,
desiredaccess
,
openasself
,
thandle
);
*
thandle
=
0
;
/* FIXME ... well, store something in there ;) */
return
TRUE
;
}
...
...
@@ -278,7 +279,25 @@ DWORD WINAPI GetSecurityDescriptorLength( SECURITY_DESCRIPTOR *pDescr)
return
0
;
}
/***********************************************************************
* GetSecurityDescriptorOwner (ADVAPI.56)
*/
BOOL32
WINAPI
GetSecurityDescriptorOwner
(
SECURITY_DESCRIPTOR
*
pDescr
,
LPSID
*
pOwner
,
LPBOOL32
lpbOwnerDefaulted
)
{
FIXME
(
security
,
"(%p,%p,%p), stub
\n
"
,
pDescr
,
pOwner
,
lpbOwnerDefaulted
);
*
lpbOwnerDefaulted
=
TRUE
;
return
0
;
}
/***********************************************************************
* GetSecurityDescriptorGroup (ADVAPI.54)
*/
BOOL32
WINAPI
GetSecurityDescriptorGroup
(
SECURITY_DESCRIPTOR
*
pDescr
,
LPSID
*
pGroup
,
LPBOOL32
lpbOwnerDefaulted
)
{
FIXME
(
security
,
"(%p,%p,%p), stub
\n
"
,
pDescr
,
pGroup
,
lpbOwnerDefaulted
);
*
lpbOwnerDefaulted
=
TRUE
;
return
0
;
}
/***********************************************************************
* InitializeSid (ADVAPI.74)
...
...
@@ -435,3 +454,11 @@ BOOL32 WINAPI NotifyBootConfigStatus(DWORD x1) {
FIXME
(
advapi
,
"(0x%08lx),stub!
\n
"
,
x1
);
return
1
;
}
/******************************************************************************
* RevertToSelf [ADVAPI32]
*/
BOOL32
WINAPI
RevertToSelf
(
void
)
{
FIXME
(
advapi
,
"(), stub
\n
"
);
return
TRUE
;
}
relay32/advapi32.spec
View file @
028c4341
...
...
@@ -55,9 +55,9 @@ type win32
0051 stub GetPrivateObjectSecurity
0052 stub GetSecurityDescriptorControl
0053 stub GetSecurityDescriptorDacl
0054 st
ub
GetSecurityDescriptorGroup
0054 st
dcall GetSecurityDescriptorGroup(ptr ptr ptr)
GetSecurityDescriptorGroup
0055 stdcall GetSecurityDescriptorLength(ptr) GetSecurityDescriptorLength
0056 st
ub
GetSecurityDescriptorOwner
0056 st
dcall GetSecurityDescriptorOwner(ptr ptr ptr)
GetSecurityDescriptorOwner
0057 stub GetSecurityDescriptorSacl
0058 stub GetServiceDisplayNameA
0059 stub GetServiceDisplayNameW
...
...
@@ -181,7 +181,7 @@ type win32
0177 stdcall RegisterServiceCtrlHandlerW (ptr ptr) RegisterServiceCtrlHandlerW
0178 stdcall ReportEventA (long long long long ptr long long str ptr) ReportEvent32A
0179 stdcall ReportEventW (long long long long ptr long long wstr ptr) ReportEvent32W
0180 st
ub
RevertToSelf
0180 st
dcall RevertToSelf()
RevertToSelf
0181 stub SetAclInformation
0182 stdcall SetFileSecurityA(str long ptr ) SetFileSecurity32A
0183 stdcall SetFileSecurityW(wstr long ptr) SetFileSecurity32W
...
...
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