mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Remove stub status.
Check for correct revision value.
This commit is contained in:
parent
f3392ac814
commit
00c32239b4
@ -835,18 +835,19 @@ NTSTATUS WINAPI RtlSelfRelativeToAbsoluteSD(
|
||||
* RtlGetControlSecurityDescriptor (NTDLL.@)
|
||||
*/
|
||||
NTSTATUS WINAPI RtlGetControlSecurityDescriptor(
|
||||
PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
||||
PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
||||
PSECURITY_DESCRIPTOR_CONTROL pControl,
|
||||
LPDWORD lpdwRevision)
|
||||
{
|
||||
SECURITY_DESCRIPTOR* lpsd=pSecurityDescriptor;
|
||||
SECURITY_DESCRIPTOR *lpsd = pSecurityDescriptor;
|
||||
|
||||
TRACE("(%p,%p,%p),stub!\n",pSecurityDescriptor,pControl,lpdwRevision);
|
||||
|
||||
if ( !lpsd || !pControl || !lpdwRevision )
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
TRACE("(%p,%p,%p)\n",pSecurityDescriptor,pControl,lpdwRevision);
|
||||
|
||||
*lpdwRevision = lpsd->Revision;
|
||||
|
||||
if (*lpdwRevision != SECURITY_DESCRIPTOR_REVISION)
|
||||
return STATUS_UNKNOWN_REVISION;
|
||||
|
||||
*pControl = lpsd->Control;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user