Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
d0c2c6df
Commit
d0c2c6df
authored
21 years ago
by
Michael McCormack
Committed by
Alexandre Julliard
21 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Stubs for advapi32 functions InitiateSystemShutdownEx, SetEntriesInAcl
and SetNamedSecurityInfo.
parent
78a5047d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/advapi32/advapi.c
+26
-0
26 additions, 0 deletions
dlls/advapi32/advapi.c
dlls/advapi32/advapi32.spec
+6
-0
6 additions, 0 deletions
dlls/advapi32/advapi32.spec
dlls/advapi32/security.c
+44
-0
44 additions, 0 deletions
dlls/advapi32/security.c
with
76 additions
and
0 deletions
dlls/advapi32/advapi.c
+
26
−
0
View file @
d0c2c6df
...
...
@@ -143,3 +143,29 @@ BOOL WINAPI AbortSystemShutdownW( LPCWSTR lpMachineName )
TRACE
(
"stub %s (harmless)
\n
"
,
debugstr_w
(
lpMachineName
));
return
TRUE
;
}
/******************************************************************************
* InitiateSystemShutdownExA [ADVAPI32.@]
*/
BOOL
WINAPI
InitiateSystemShutdownExA
(
LPSTR
lpMachineName
,
LPSTR
lpMessage
,
DWORD
dwTimeout
,
BOOL
bForceAppsClosed
,
BOOL
bRebootAfterShutdown
,
DWORD
dwReason
)
{
FIXME
(
"%s %s %ld %d %d %ld
\n
"
,
debugstr_a
(
lpMachineName
),
debugstr_a
(
lpMessage
),
dwTimeout
,
bForceAppsClosed
,
bRebootAfterShutdown
,
dwReason
);
return
TRUE
;
}
/******************************************************************************
* InitiateSystemShutdownExA [ADVAPI32.@]
*/
BOOL
WINAPI
InitiateSystemShutdownExW
(
LPWSTR
lpMachineName
,
LPWSTR
lpMessage
,
DWORD
dwTimeout
,
BOOL
bForceAppsClosed
,
BOOL
bRebootAfterShutdown
,
DWORD
dwReason
)
{
FIXME
(
"%s %s %ld %d %d %ld
\n
"
,
debugstr_w
(
lpMachineName
),
debugstr_w
(
lpMessage
),
dwTimeout
,
bForceAppsClosed
,
bRebootAfterShutdown
,
dwReason
);
return
TRUE
;
}
This diff is collapsed.
Click to expand it.
dlls/advapi32/advapi32.spec
+
6
−
0
View file @
d0c2c6df
...
...
@@ -134,6 +134,8 @@
@ stdcall InitializeSid(ptr ptr long)
@ stub InitiateSystemShutdownA
@ stub InitiateSystemShutdownW
@ stdcall InitiateSystemShutdownExA(wstr wstr long long long long)
@ stdcall InitiateSystemShutdownExW(wstr wstr long long long long)
@ stub InstallApplication
@ stub IsProcessRestricted
@ stdcall IsTextUnicode(ptr long ptr) ntdll.RtlIsTextUnicode
...
...
@@ -245,9 +247,13 @@
@ stdcall ReportEventW (long long long long ptr long long wstr ptr)
@ stdcall RevertToSelf()
@ stub SetAclInformation
@ stdcall SetEntriesInAclA(long ptr ptr ptr)
@ stdcall SetEntriesInAclW(long ptr ptr ptr)
@ stdcall SetFileSecurityA(str long ptr )
@ stdcall SetFileSecurityW(wstr long ptr)
@ stdcall SetKernelObjectSecurity(long long ptr)
@ stdcall SetNamedSecurityInfoA(str long ptr ptr ptr ptr ptr)
@ stdcall SetNamedSecurityInfoW(wstr long ptr ptr ptr ptr ptr)
@ stub SetPrivateObjectSecurity
@ stub SetSecurityDescriptorControl #(ptr long long)
@ stdcall SetSecurityDescriptorDacl(ptr long ptr long)
...
...
This diff is collapsed.
Click to expand it.
dlls/advapi32/security.c
+
44
−
0
View file @
d0c2c6df
...
...
@@ -1350,3 +1350,47 @@ VOID WINAPI BuildTrusteeWithSidW(PTRUSTEEW pTrustee, PSID pSid)
{
FIXME
(
"%p %p
\n
"
,
pTrustee
,
pSid
);
}
/******************************************************************************
* SetEntriesInAclA [ADVAPI32.@]
*/
DWORD
WINAPI
SetEntriesInAclA
(
ULONG
count
,
PEXPLICIT_ACCESSA
pEntries
,
PACL
OldAcl
,
PACL
*
NewAcl
)
{
FIXME
(
"%ld %p %p %p
\n
"
,
count
,
pEntries
,
OldAcl
,
NewAcl
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
/******************************************************************************
* SetEntriesInAclW [ADVAPI32.@]
*/
DWORD
WINAPI
SetEntriesInAclW
(
ULONG
count
,
PEXPLICIT_ACCESSW
pEntries
,
PACL
OldAcl
,
PACL
*
NewAcl
)
{
FIXME
(
"%ld %p %p %p
\n
"
,
count
,
pEntries
,
OldAcl
,
NewAcl
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
/******************************************************************************
* SetNamedSecurityInfoA [ADVAPI32.@]
*/
DWORD
WINAPI
SetNamedSecurityInfoA
(
LPSTR
pObjectName
,
SE_OBJECT_TYPE
ObjectType
,
SECURITY_INFORMATION
SecurityInfo
,
PSID
psidOwner
,
PSID
psidGroup
,
PACL
pDacl
,
PACL
pSacl
)
{
FIXME
(
"%s %d %ld %p %p %p %p
\n
"
,
debugstr_a
(
pObjectName
),
ObjectType
,
SecurityInfo
,
psidOwner
,
psidGroup
,
pDacl
,
pSacl
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
/******************************************************************************
* SetNamedSecurityInfoW [ADVAPI32.@]
*/
DWORD
WINAPI
SetNamedSecurityInfoW
(
LPWSTR
pObjectName
,
SE_OBJECT_TYPE
ObjectType
,
SECURITY_INFORMATION
SecurityInfo
,
PSID
psidOwner
,
PSID
psidGroup
,
PACL
pDacl
,
PACL
pSacl
)
{
FIXME
(
"%s %d %ld %p %p %p %p
\n
"
,
debugstr_w
(
pObjectName
),
ObjectType
,
SecurityInfo
,
psidOwner
,
psidGroup
,
pDacl
,
pSacl
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment