advapi32: Add CreatePrivateObjectSecurityEx.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6827a97236
commit
b83a5d78a4
|
@ -120,7 +120,7 @@
|
||||||
@ stdcall CopySid(long ptr ptr)
|
@ stdcall CopySid(long ptr ptr)
|
||||||
# @ stub CreateCodeAuthzLevel
|
# @ stub CreateCodeAuthzLevel
|
||||||
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr)
|
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr)
|
||||||
# @ stub CreatePrivateObjectSecurityEx
|
@ stdcall CreatePrivateObjectSecurityEx(ptr ptr ptr ptr long long long ptr)
|
||||||
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr)
|
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr)
|
||||||
@ stdcall CreateProcessAsUserA(long str str ptr ptr long long ptr str ptr ptr)
|
@ stdcall CreateProcessAsUserA(long str str ptr ptr long long ptr str ptr ptr)
|
||||||
# @ stub CreateProcessAsUserSecure
|
# @ stub CreateProcessAsUserSecure
|
||||||
|
|
|
@ -5299,20 +5299,16 @@ BOOL WINAPI ConvertToAutoInheritPrivateObjectSecurity(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI CreatePrivateObjectSecurity(
|
BOOL WINAPI CreatePrivateObjectSecurityEx(
|
||||||
PSECURITY_DESCRIPTOR ParentDescriptor,
|
PSECURITY_DESCRIPTOR parent, PSECURITY_DESCRIPTOR creator, PSECURITY_DESCRIPTOR *out,
|
||||||
PSECURITY_DESCRIPTOR CreatorDescriptor,
|
GUID *objtype, BOOL is_directory, ULONG flags, HANDLE token, PGENERIC_MAPPING mapping)
|
||||||
PSECURITY_DESCRIPTOR* NewDescriptor,
|
|
||||||
BOOL IsDirectoryObject,
|
|
||||||
HANDLE Token,
|
|
||||||
PGENERIC_MAPPING GenericMapping )
|
|
||||||
{
|
{
|
||||||
SECURITY_DESCRIPTOR_RELATIVE *relative;
|
SECURITY_DESCRIPTOR_RELATIVE *relative;
|
||||||
DWORD needed, offset;
|
DWORD needed, offset;
|
||||||
BYTE *buffer;
|
BYTE *buffer;
|
||||||
|
|
||||||
FIXME("%p %p %p %d %p %p - returns fake SECURITY_DESCRIPTOR\n", ParentDescriptor,
|
FIXME("%p %p %p %p %d %u %p %p - returns fake SECURITY_DESCRIPTOR\n", parent, creator, out,
|
||||||
CreatorDescriptor, NewDescriptor, IsDirectoryObject, Token, GenericMapping);
|
objtype, is_directory, flags, token, mapping);
|
||||||
|
|
||||||
needed = sizeof(SECURITY_DESCRIPTOR_RELATIVE);
|
needed = sizeof(SECURITY_DESCRIPTOR_RELATIVE);
|
||||||
needed += sizeof(sidWorld);
|
needed += sizeof(sidWorld);
|
||||||
|
@ -5345,16 +5341,23 @@ BOOL WINAPI CreatePrivateObjectSecurity(
|
||||||
GetWorldAccessACL( (ACL *)(buffer + offset) );
|
GetWorldAccessACL( (ACL *)(buffer + offset) );
|
||||||
relative->Sacl = offset;
|
relative->Sacl = offset;
|
||||||
|
|
||||||
*NewDescriptor = relative;
|
*out = relative;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI CreatePrivateObjectSecurity(
|
||||||
|
PSECURITY_DESCRIPTOR parent, PSECURITY_DESCRIPTOR creator, PSECURITY_DESCRIPTOR *out,
|
||||||
|
BOOL is_container, HANDLE token, PGENERIC_MAPPING mapping)
|
||||||
|
{
|
||||||
|
return CreatePrivateObjectSecurityEx(parent, creator, out, NULL, is_container, 0, token, mapping);
|
||||||
|
}
|
||||||
|
|
||||||
BOOL WINAPI CreatePrivateObjectSecurityWithMultipleInheritance(
|
BOOL WINAPI CreatePrivateObjectSecurityWithMultipleInheritance(
|
||||||
PSECURITY_DESCRIPTOR parent, PSECURITY_DESCRIPTOR creator, PSECURITY_DESCRIPTOR *out,
|
PSECURITY_DESCRIPTOR parent, PSECURITY_DESCRIPTOR creator, PSECURITY_DESCRIPTOR *out,
|
||||||
GUID **types, ULONG count, BOOL is_container, ULONG flags, HANDLE token, PGENERIC_MAPPING mapping)
|
GUID **types, ULONG count, BOOL is_container, ULONG flags, HANDLE token, PGENERIC_MAPPING mapping)
|
||||||
{
|
{
|
||||||
FIXME(": semi-stub\n");
|
FIXME(": semi-stub\n");
|
||||||
return CreatePrivateObjectSecurity(parent, creator, out, is_container, token, mapping);
|
return CreatePrivateObjectSecurityEx(parent, creator, out, NULL, is_container, flags, token, mapping);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI DestroyPrivateObjectSecurity( PSECURITY_DESCRIPTOR* ObjectDescriptor )
|
BOOL WINAPI DestroyPrivateObjectSecurity( PSECURITY_DESCRIPTOR* ObjectDescriptor )
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
@ stub ConvertToAutoInheritPrivateObjecSecurity
|
@ stub ConvertToAutoInheritPrivateObjecSecurity
|
||||||
@ stdcall CopySid(long ptr ptr) advapi32.CopySid
|
@ stdcall CopySid(long ptr ptr) advapi32.CopySid
|
||||||
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr) advapi32.CreatePrivateObjectSecurity
|
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr) advapi32.CreatePrivateObjectSecurity
|
||||||
@ stub CreatePrivateObjectSecurityEx
|
@ stdcall CreatePrivateObjectSecurityEx(ptr ptr ptr ptr long long long ptr) advapi32.CreatePrivateObjectSecurityEx
|
||||||
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr) advapi32.CreatePrivateObjectSecurityWithMultipleInheritance
|
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr) advapi32.CreatePrivateObjectSecurityWithMultipleInheritance
|
||||||
@ stdcall CreateProcessAsUserW(long wstr wstr ptr ptr long long ptr wstr ptr ptr) advapi32.CreateProcessAsUserW
|
@ stdcall CreateProcessAsUserW(long wstr wstr ptr ptr long long ptr wstr ptr ptr) advapi32.CreateProcessAsUserW
|
||||||
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr) advapi32.CreateRestrictedToken
|
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr) advapi32.CreateRestrictedToken
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
@ stdcall ConvertToAutoInheritPrivateObjectSecurity(ptr ptr ptr ptr long ptr) advapi32.ConvertToAutoInheritPrivateObjectSecurity
|
@ stdcall ConvertToAutoInheritPrivateObjectSecurity(ptr ptr ptr ptr long ptr) advapi32.ConvertToAutoInheritPrivateObjectSecurity
|
||||||
@ stdcall CopySid(long ptr ptr) advapi32.CopySid
|
@ stdcall CopySid(long ptr ptr) advapi32.CopySid
|
||||||
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr) advapi32.CreatePrivateObjectSecurity
|
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr) advapi32.CreatePrivateObjectSecurity
|
||||||
@ stub CreatePrivateObjectSecurityEx
|
@ stdcall CreatePrivateObjectSecurityEx(ptr ptr ptr ptr long long long ptr) advapi32.CreatePrivateObjectSecurityEx
|
||||||
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr) advapi32.CreatePrivateObjectSecurityWithMultipleInheritance
|
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr) advapi32.CreatePrivateObjectSecurityWithMultipleInheritance
|
||||||
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr) advapi32.CreateRestrictedToken
|
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr) advapi32.CreateRestrictedToken
|
||||||
@ stdcall CreateWellKnownSid(long ptr ptr ptr) advapi32.CreateWellKnownSid
|
@ stdcall CreateWellKnownSid(long ptr ptr ptr) advapi32.CreateWellKnownSid
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
@ stdcall ConvertToAutoInheritPrivateObjectSecurity(ptr ptr ptr ptr long ptr) advapi32.ConvertToAutoInheritPrivateObjectSecurity
|
@ stdcall ConvertToAutoInheritPrivateObjectSecurity(ptr ptr ptr ptr long ptr) advapi32.ConvertToAutoInheritPrivateObjectSecurity
|
||||||
@ stdcall CopySid(long ptr ptr) advapi32.CopySid
|
@ stdcall CopySid(long ptr ptr) advapi32.CopySid
|
||||||
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr) advapi32.CreatePrivateObjectSecurity
|
@ stdcall CreatePrivateObjectSecurity(ptr ptr ptr long long ptr) advapi32.CreatePrivateObjectSecurity
|
||||||
@ stub CreatePrivateObjectSecurityEx
|
@ stdcall CreatePrivateObjectSecurityEx(ptr ptr ptr ptr long long long ptr) advapi32.CreatePrivateObjectSecurityEx
|
||||||
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr) advapi32.CreatePrivateObjectSecurityWithMultipleInheritance
|
@ stdcall CreatePrivateObjectSecurityWithMultipleInheritance(ptr ptr ptr ptr long long long long ptr) advapi32.CreatePrivateObjectSecurityWithMultipleInheritance
|
||||||
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr) advapi32.CreateRestrictedToken
|
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr) advapi32.CreateRestrictedToken
|
||||||
@ stdcall CreateWellKnownSid(long ptr ptr ptr) advapi32.CreateWellKnownSid
|
@ stdcall CreateWellKnownSid(long ptr ptr ptr) advapi32.CreateWellKnownSid
|
||||||
|
|
|
@ -1772,6 +1772,7 @@ WINBASEAPI HANDLE WINAPI CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,D
|
||||||
#define CreateNamedPipe WINELIB_NAME_AW(CreateNamedPipe)
|
#define CreateNamedPipe WINELIB_NAME_AW(CreateNamedPipe)
|
||||||
WINBASEAPI BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
|
WINBASEAPI BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
|
||||||
WINADVAPI BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING);
|
WINADVAPI BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING);
|
||||||
|
WINADVAPI BOOL WINAPI CreatePrivateObjectSecurityEx(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,GUID*,BOOL,ULONG,HANDLE,PGENERIC_MAPPING);
|
||||||
WINADVAPI BOOL WINAPI CreatePrivateObjectSecurityWithMultipleInheritance(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,GUID**,ULONG,BOOL,ULONG,HANDLE,PGENERIC_MAPPING);
|
WINADVAPI BOOL WINAPI CreatePrivateObjectSecurityWithMultipleInheritance(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,GUID**,ULONG,BOOL,ULONG,HANDLE,PGENERIC_MAPPING);
|
||||||
WINBASEAPI PTP_POOL WINAPI CreateThreadpool(PVOID);
|
WINBASEAPI PTP_POOL WINAPI CreateThreadpool(PVOID);
|
||||||
WINBASEAPI PTP_WORK WINAPI CreateThreadpoolWork(PTP_WORK_CALLBACK,PVOID,PTP_CALLBACK_ENVIRON);
|
WINBASEAPI PTP_WORK WINAPI CreateThreadpoolWork(PTP_WORK_CALLBACK,PVOID,PTP_CALLBACK_ENVIRON);
|
||||||
|
|
Loading…
Reference in New Issue