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
b611681c
Commit
b611681c
authored
Apr 19, 2002
by
Leo van den Berg
Committed by
Alexandre Julliard
Apr 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stubs for AbortSystemShutdown[AW] and PrivilegeCheck.
parent
da2b2d67
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
3 deletions
+38
-3
advapi.c
dlls/advapi32/advapi.c
+24
-0
advapi32.spec
dlls/advapi32/advapi32.spec
+3
-3
security.c
dlls/advapi32/security.c
+11
-0
No files found.
dlls/advapi32/advapi.c
View file @
b611681c
...
...
@@ -88,3 +88,27 @@ GetUserNameW( LPWSTR lpszName, LPDWORD lpSize )
HeapFree
(
GetProcessHeap
(),
0
,
name
);
return
res
;
}
/******************************************************************************
* AbortSystemShutdownA [ADVAPI32.@]
*
* PARAMS
* lpMachineName
*/
BOOL
WINAPI
AbortSystemShutdownA
(
LPSTR
lpMachineName
)
{
TRACE
(
"stub %s (harmless)
\n
"
,
lpMachineName
);
return
TRUE
;
}
/******************************************************************************
* AbortSystemShutdownW [ADVAPI32.@]
*
* PARAMS
* lpMachineName
*/
BOOL
WINAPI
AbortSystemShutdownW
(
LPCWSTR
lpMachineName
)
{
TRACE
(
"stub %s (harmless)
\n
"
,
debugstr_w
(
lpMachineName
));
return
TRUE
;
}
dlls/advapi32/advapi32.spec
View file @
b611681c
...
...
@@ -6,8 +6,8 @@ import ntdll.dll
debug_channels (advapi crypt reg)
@ st
ub
AbortSystemShutdownA
@ st
ub
AbortSystemShutdownW
@ st
dcall AbortSystemShutdownA(ptr)
AbortSystemShutdownA
@ st
dcall AbortSystemShutdownW(ptr)
AbortSystemShutdownW
@ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) AccessCheck
@ stub AccessCheckAndAuditAlarmA
@ stub AccessCheckAndAuditAlarmW
...
...
@@ -166,7 +166,7 @@ debug_channels (advapi crypt reg)
@ stdcall OpenServiceA(long str long) OpenServiceA
@ stdcall OpenServiceW(long wstr long) OpenServiceW
@ stdcall OpenThreadToken(long long long ptr) OpenThreadToken
@ st
ub
PrivilegeCheck
@ st
dcall PrivilegeCheck(ptr ptr ptr)
PrivilegeCheck
@ stub PrivilegedServiceAuditAlarmA
@ stub PrivilegedServiceAuditAlarmW
@ stub QueryServiceConfigA
...
...
dlls/advapi32/security.c
View file @
b611681c
...
...
@@ -970,3 +970,14 @@ BOOL WINAPI GetAce(PACL pAcl,DWORD dwAceIndex,LPVOID *pAce )
{
CallWin32ToNt
(
RtlGetAce
(
pAcl
,
dwAceIndex
,
pAce
));
}
/******************************************************************************
* PrivilegeCheck [ADVAPI32.@]
*/
BOOL
WINAPI
PrivilegeCheck
(
HANDLE
ClientToken
,
PPRIVILEGE_SET
RequiredPrivileges
,
LPBOOL
pfResult
)
{
FIXME
(
"stub %d %p %p
\n
"
,
ClientToken
,
RequiredPrivileges
,
pfResult
);
if
(
pfResult
)
*
pfResult
=
TRUE
;
return
TRUE
;
}
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