---
name: "RtlCopySecurityDescriptor"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlCopySecurityDescriptor"
---

# RtlCopySecurityDescriptor(3w)

## NAME

**RtlCopySecurityDescriptor** (NTDLL.@)

## SYNOPSIS

NTSTATUS RtlCopySecurityDescriptor\
  (\
   PSECURITY\_DESCRIPTOR *pSourceSD*,\
   PSECURITY\_DESCRIPTOR *pDestinationSD*\
  )

## DESCRIPTION

Copies an absolute or sefl-relative **SECURITY\_DESCRIPTOR**.

## PARAMS

*pSourceSD* **\[Out\]**  **SD** to copy from.

*pDestinationSD* **\[In\]**  Destination **SD**.

## RETURNS

**Success:** **STATUS\_SUCCESS**.

**Failure:** **STATUS\_UNKNOWN\_REVISION** if rev is incorrect.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/sec.c"**.

Debug channel **"ntdll"**.
