parent
f3392ac814
commit
00c32239b4
|
@ -841,12 +841,13 @@ NTSTATUS WINAPI RtlGetControlSecurityDescriptor(
|
||||||
{
|
{
|
||||||
SECURITY_DESCRIPTOR *lpsd = pSecurityDescriptor;
|
SECURITY_DESCRIPTOR *lpsd = pSecurityDescriptor;
|
||||||
|
|
||||||
TRACE("(%p,%p,%p),stub!\n",pSecurityDescriptor,pControl,lpdwRevision);
|
TRACE("(%p,%p,%p)\n",pSecurityDescriptor,pControl,lpdwRevision);
|
||||||
|
|
||||||
if ( !lpsd || !pControl || !lpdwRevision )
|
|
||||||
return STATUS_INVALID_PARAMETER;
|
|
||||||
|
|
||||||
*lpdwRevision = lpsd->Revision;
|
*lpdwRevision = lpsd->Revision;
|
||||||
|
|
||||||
|
if (*lpdwRevision != SECURITY_DESCRIPTOR_REVISION)
|
||||||
|
return STATUS_UNKNOWN_REVISION;
|
||||||
|
|
||||||
*pControl = lpsd->Control;
|
*pControl = lpsd->Control;
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue